User object methods
The following list summarizes the User object methods:
Note: For all Perl Get and Set methods, see the Properties section of
this object.
- Method name
- Description
GetAuthenticationMode- Returns the current authentication mode of the User.
GetMasterReplicaName- Returns the name of the replica that masters the group.
GetUserPrivilege- Tests whether the User has a specified user privilege.
IsSubscribedToAllDatabases- Returns Boolean True if the User is subscribed to all databases in the schema repository, False otherwise.
SetCQAuthentication- Sets a user account authentication mode to CQ_AUTHENTICATION, which uses traditional DevOps Plan enabled user authentication.
SetLDAPAuthentication- Sets a user for LDAP authentication. This method sets the user account authentication mode to LDAP_AUTHENTICATION, which authenticates against an LDAP server.
SetLoginName- Change a login name and/or password.
SetMasterReplicaByName- Sets the replica that masters the group record.
SetSubscribedToAllDatabases- Subscribes the user to all user databases in the schema repository (master database).
SetUserPrivilege- Sets a User privilege.
SiteHasMastership- Tests whether this object is mastered in the session database.
SubscribeDatabase- Subscribes this user to the specified database.
UnsubscribeAllDatabases- Unsubscribes the user from all databases.
UnsubscribeDatabase- Unsubscribes the user from the specified database.
UpgradeInfo- Upgrades the user profile related information to all the user databases that the user is currently subscribed to.