Click or drag to resize

PFUsersManagementHubAddIdentity Method

Adds an identity to a user.

Namespace:  Packflow.Interface
Assembly:  MicaSystems.Packflow.Interface (in MicaSystems.Packflow.Interface.dll) Version: 1.0.0.0 (2.0.0.223)
Syntax
C#
public Html AddIdentity(
	long userId,
	string newName,
	bool isNewIdentity
)

Parameters

userId
Type: SystemInt64
The PFUser id.
newName
Type: SystemString
Login name of the new identity.
isNewIdentity
Type: SystemBoolean
True to specify it as a pending identity.

Return Value

Type: Html
Html of the row for the new identity or error message.
Exceptions
ExceptionCondition
ValidationException A login must be provided or The alternative identities setting is not enabled or User for new login not found in domain or Provided login name already exists as an alternative identity or Provided login name already exists as a user or User not found or A user cannot have two new identities at the same time
See Also