UserPrincipalExtensions..::..IsActive Method

Determines whether the specified user is active.

Namespace:  MichaelBrandonMorris.Extensions.PrincipalExtensions
Assembly:  MichaelBrandonMorris.Extensions.PrincipalExtensions (in MichaelBrandonMorris.Extensions.PrincipalExtensions.dll)

Syntax


public static bool IsActive(
	UserPrincipal user
)
Public Shared Function IsActive ( _
	user As UserPrincipal _
) As Boolean
public:
static bool^ IsActive(
	UserPrincipal^ user
)

Parameters

user
Type: UserPrincipal
The user.

Return Value

true if the specified user is active; otherwise, false.