UserSecurityHelperIsAuthorizedPerMetaFile Method |
Checks whether the user is authorized per meta file for given object type and permission.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax public static bool IsAuthorizedPerMetaFile(
PermissionsEnum permission,
string objectType,
string siteName,
UserInfo userInfo
)
Parameters
- permission
- Type: CMS.DataEnginePermissionsEnum
Permission to check - objectType
- Type: SystemString
Object type - siteName
- Type: SystemString
Site name - userInfo
- Type: CMS.MembershipUserInfo
User to check
Return Value
Type:
BooleanSee Also