UserInfoProviderIsAuthorizedPerResource Method (String, String, String, UserInfo) |
Returns true if given user is granted with specified permission.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax public static bool IsAuthorizedPerResource(
string resourceName,
string permissionName,
string siteName,
UserInfo userInfo
)
Parameters
- resourceName
- Type: SystemString
Resource name - permissionName
- Type: SystemString
Permission name - siteName
- Type: SystemString
Site name - userInfo
- Type: CMS.MembershipUserInfo
User info object
Return Value
Type:
BooleanSee Also