Aqualogic Interaction API  
 

IPTAuthSource.CreateRemoteUser Method 

Creates a remote user against the specified authentication source. This function does not replace a user synchronization, but instead allows a user to be created against an authentication source in a one-off manner between user synchronizations. All attributes of the user, as imported via this function, will be preserved and properly updated by regular user syncs.
int CreateRemoteUser(
   int nAdminFolderID,
   string sUniqueName,
   string sAuthenticationName,
   string sLoginName,
   string sDisplayName,
   object[] arrGroupUniqueNames
);

Parameters

nAdminFolderID
- the admin folder to create the user in, if -1 is specified the default folder as specified in the authentication source will be used
sUniqueName
- the unique name of the user. This string should never change during the life of this user, e.g. a GUID from Active Directory.
sAuthenticationName
- the authentication name to send to the remote AWS when the user attempts to authenticate, e.g. JDoe@plumtree.com
sLoginName
- the login name of the user. This is the string the user will type in as their portal username, e.g. JDoe
sDisplayName
- the display name of the user, e.g. John Doe
arrGroupUniqueNames
- a set of group unique names for groups from the same authentication source.

Return Value

- an int representing this user's object id

See Also

IPTAuthSource Interface | com.plumtree.server Namespace