UserInfoIsAuthorizedPerResource Method (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: 10.0.0
Syntax public virtual bool IsAuthorizedPerResource(
string resourceName,
string permissionName
)
Parameters
- resourceName
- Type: SystemString
Resource name - permissionName
- Type: SystemString
Permission name to check
Return Value
Type:
BooleanSee Also