Click or drag to resize
CurrentUserInfoIsInRole Method (String, String)
Returns true, if the user is member of the specified site (registered on it).

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
Syntax
C#
public 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