Application Programming Interface Guide > Introduction > Groups of Procedures > User Procedures
 
User Procedures
The user procedures are found in the resource tree under /lib/users. They are:
• ClearAlternatePrincipal, which clears all credential data previously stored using the setDataSourceCredentials JDBC method or the SetDataSourceCredentials procedure.
• ExplainPrincipals, which retrieves the list of principals included in a specified resource set. (This procedure is also listed with Deployment Procedures.)
• ListPrincipals, which retrieves the list of principals included in the specified resource set. (This procedure is also listed with Deployment Procedures.)
• SetAlternatePrincipal, which establishes an alternate identity within the current session, preserving the original identity for afterwards.
• SyncDomain, which synchronizes the local external domain with the specified external domain server.
• TestUserIdentity, which allows a SQL script to determine if the current identity matches the one specified.