Click or drag to resize

PFUsersManagementHubV2AddADAccount 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 PFUserAltIdentity AddADAccount(
	long userId,
	string newName
)

Parameters

userId
Type: SystemInt64
The PFUser id.
newName
Type: SystemString
Login name of the new identity.

Return Value

Type: PFUserAltIdentity
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