Click or drag to resize
CMSADRoleProviderIsUserInRole Method
Returns true if the user is in specific role.

Namespace: CMS.MembershipProvider
Assembly: CMS.MembershipProvider (in CMS.MembershipProvider.dll) Version: 11.0.0
Syntax
C#
public override bool IsUserInRole(
	string username,
	string roleName
)

Parameters

username
Type: SystemString
User name
roleName
Type: SystemString
Role name

Return Value

Type: Boolean
See Also