UserInfoIsInRole Method (String, String) |
Returns true if the user is member of the specified role on the specified site or member of global role.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
Syntaxpublic virtual bool IsInRole(
string roleName,
string siteName
)
Parameters
- roleName
- Type: SystemString
Role name to check - siteName
- Type: SystemString
Site name to check
Return Value
Type:
Boolean
See Also