Click or drag to resize
UserInfoProviderIsAuthorizedPerMetaFile Method
Returns true if given user is granted with specified permission.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.2.23
Syntax
C#
public static bool IsAuthorizedPerMetaFile(
	string objectType,
	PermissionsEnum permission,
	string siteName,
	UserInfo userInfo
)

Parameters

objectType
Type: SystemString
Object type
permission
Type: CMS.DataEnginePermissionsEnum
Permission
siteName
Type: SystemString
Site name
userInfo
Type: CMS.MembershipUserInfo
User info object

Return Value

Type: Boolean
See Also