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
)
Public Function HasProfile (
profile As String
) As Boolean
Parameters
- profile
- Type: SystemString
The name of the profile to search for
Return Value
Type:
Booleantrue if the current user has this profile in the list, otherwise false
Remarks The search is case-insensitive
See Also