/
admGetUserLogin
admGetUserLogin
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !
Availability
This routine is available starting with SIL Engine™ 4.8.0.11.
Syntax
admGetUserLogin(user)
Description
Gets the login details for the given user.
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
User | String | Yes | Username of the user for which to retrieve the login details. |
Return type
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
, multiple selections available,
Related content
admGetUserLogin
admGetUserLogin
More like this
admActivateUser
admActivateUser
More like this
admResetUserPassword
admResetUserPassword
More like this
admCreateUser
admCreateUser
More like this
admUpdateUser
admUpdateUser
Read with this
isAnyUserAuthenticated
isAnyUserAuthenticated
More like this