Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admGetLastActiveDates(accountId)

Package

adm

Alias

Pkg Usage

lastActiveDates(accountId)

Description

Excerpt
hiddentrue
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
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

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
languagejs
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)
showLabelsfalse
max25
showSpacefalse
cqllabel = "lastactive_admin_routine" and space = currentSpace ( )
labelsarray_routines