CMSADRoleProviderIsUserInRole Method |
Returns true if the user is in specific role.
Namespace: CMS.MembershipProviderAssembly: CMS.MembershipProvider (in CMS.MembershipProvider.dll) Version: 8.2.23
Syntax public override bool IsUserInRole(
string username,
string roleName
)
Parameters
- username
- Type: SystemString
User name - roleName
- Type: SystemString
Role name
Return Value
Type:
BooleanSee Also