Click or drag to resize

UserContextHasProfile Method

Checks the list of profiles for a specific match.

Namespace:  NetQuarry.Security
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public bool HasProfile(
	string profile
)

Parameters

profile
Type: SystemString
The name of the profile to search for

Return Value

Type: Boolean
true if the current user has this profile in the list, otherwise false
Remarks
The search is case-insensitive
See Also