WebCenter Interaction API  
 

IPTUserManager.GetLockedAccounts Method 

Returns a QueryResult that lists the users that have been locked. Users may be locked through IPTUser.SetLockStatus. This may happen when a security violation is suspected (for example when an employee is terminated, or when a user has attempted to login with incorrect passwords a number of times.) This also happens when the "disable" user instead of "delete" user option is turned on in an Authentication Source. In this case users are "agent disabled" as opposed to deleted.

The QueryResult contains these properties: PT_PROPID_OBJECTID, PT_PROPID_NAME, PT_PROPID_USER_LOGINNAME, PT_PROPID_DESCRIPTION, PT_PROPID_FOLDERID, PT_PROPID_CREATED, PT_PROPID_USERLOCKEDACCOUNTS_LOCKCANEXPIRE.
IPTQueryResult GetLockedAccounts(
   string bstrDescription,
   int nSkipRows,
   int nMaxRows
);

Parameters

bstrDescription
filters on locked account description, or the reason the account was locked
nSkipRows
number of rows to skip at the beginning, or 0 for none
nMaxRows
maximum number of rows to return, or -1 for all

Return Value

the queryresult describing the locked users

See Also

IPTUserManager Interface | com.plumtree.server Namespace