Export (0) Print
Expand All

UserProfileManager.RemoveLeader Method

Removes the specified leader from the user profile database.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

public void RemoveLeader(
	string accountName
)

Parameters

accountName
Type: System.String

The account name of the leader to remove.

ExceptionCondition
ArgumentException

accountName is null or empty.

RemoveUserFailedException

The remove operation failed.

This method removes the leader specified by the accoutnName parameter from the user profile database.

Show:
© 2014 Microsoft