UserInfoIsAuthorizedPerObject Method (PermissionsEnum, BaseInfo, String) |
Checks whether the user is authorized per object with given object type and permission.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax public virtual bool IsAuthorizedPerObject(
PermissionsEnum permission,
BaseInfo obj,
string siteName
)
Parameters
- permission
- Type: CMS.DataEnginePermissionsEnum
Permission to check - obj
- Type: CMS.DataEngineBaseInfo
Object to check - siteName
- Type: SystemString
Site name
Return Value
Type:
BooleanSee Also