Info |
---|
|
This routine is available starting with SIL Engine™ 4.8.0.11. |
Syntax
...
Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=admGetUserLogin+-+15481119 |
---|
width | auto |
---|
|
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | admGetUserLogin(user) | Package | adm | Alias | | Pkg Usage | getUserLogin(user) | |
Description
Excerpt |
---|
|
Gets the login details for the given user. |
Gets the login details for the given user.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
User | String | Yes | Username of the user for which to retrieve the login details. | |
Return
...
Type
JLogin
Example
...
Code Block |
---|
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)); |
...
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "jirauser_groupadmin_routine" and space = currentSpace ( ) |
---|
labels | jiraarray_group_routineroutines |
---|
|