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: 9.0.0
Syntaxpublic override bool IsInRole(
string roleName,
string siteName
)
Parameters
- roleName
- Type: SystemString
Role name - siteName
- Type: SystemString
Site name to check
Return Value
Type:
Boolean
See Also