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: 9.0.0
Syntaxpublic 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:
Boolean
See Also