Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | admGetLastActiveDates(accountId) | Package | adm | Alias | | Pkg Usage | lastActiveDates(accountId) | |
Description
Excerpt |
---|
|
Returns last active dates of the provided user. |
Returns a JLastActiveDates structure containing information about last active dates of the user on different products.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
accountId | string | Yes | The account Id of the user to be queried. | |
Return Type
JLastActiveDates
Returns the last active dates of the user.
Example
Code Block |
---|
|
JLastActiveDates lastActive = admGetLastActiveDates(currentUser());
int indexCC = 1;
for(JProductLastActiveDate plad in lastActive.productLastActiveDates) {
runnerLog("---productLastActiveDate " + indexCC + "---");
runnerLog("product = " + plad.product);
runnerLog("lastActive = " + plad.lastActive);
indexCC++;
}
runnerLog("--------------");
runnerLog("addedToOrganization = " + lastActive.addedToOrganization); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "lastactive_admin_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|