CurrentUserInfoIsInRole Method (String, String) |
Returns true, if the user is member of the specified site (registered on it).
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax public override bool IsInRole(
string roleName,
string siteName
)
Parameters
- roleName
- Type: SystemString
Role name - siteName
- Type: SystemString
Site name to check
Return Value
Type:
BooleanSee Also