UserInfoIsAuthorizedPerResource Method (String, String, String) |
Checks whether the user is authorized for given resource name and permission, returns true if so.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntax public virtual bool IsAuthorizedPerResource(
string resourceName,
string permissionName,
string siteName
)
Parameters
- resourceName
- Type: SystemString
Resource name - permissionName
- Type: SystemString
Permission name to check - siteName
- Type: SystemString
Site name
Return Value
Type:
BooleanSee Also