Skip to end of banner
Go to start of banner

admGetUserLogin

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Availability

This routine is available starting with SIL Engine™ 4.8.1.

Syntax

admGetUserLogin(user)

Description

Gets the login details for the given user.

Parameters

Parameter name

Type

Required

Description

UserStringYesUsername of the user for which to retrieve the login details.

Return type

JLogin

Example 1

JLogin loginInfo = admGetUserLogin("jsmith");
string format = "MM/dd/yyyy"; //format for dates

runnerLog("Login count: " + trim(loginInfo.loginCount));
runnerLog("Last login: " + formatDate(loginInfo.lastLogin, format));
runnerLog("Failed login count: " + trim(loginInfo.failedLoginCount));
runnerLog("Last failed login: " + formatDate(loginInfo.lastFailedLogin, format));

See also

  • No labels