Gets a value indicating whether the specified user is in the specified role.
true if the specified user is in the specified role; otherwise, false.
Exception Type | Condition |
---|---|
ArgumentNullException | roleName is null. -or- username is null. |
ArgumentException | roleName is an empty string. -or- username is an empty string. |
VGRoleProvider Class | Novalys.VisualGuard.Security.WebForm Namespace