Gets a value indicating whether the currently logged-on user is in the specified role.
true if the currently logged-on user is in the specified role; otherwise, false.
this method is equivalent to IsInRole
Exception Type | Condition |
---|---|
ArgumentNullException |
roleName is null. -or- There is no current logged-on user. |
ArgumentException | roleName is an empty string or is longer than 64 characters. |
VGRoles Class | Novalys.VisualGuard.Security.Membership Namespace | VGRoles.IsUserInRole Overload List