Export (0) Print
Expand All

UserProfileManager.UserExists method

Returns a value indicating whether the user for a specified account name has a user profile.

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

public bool UserExists(
	string strAccountName
)

Parameters

strAccountName
Type: System.String

The account name for the user profile.

Return value

Type: System.Boolean
Boolean true if the user for the specified account name has a user profile; otherwise, false.

Community Additions

ADD
Show:
© 2014 Microsoft