UserInfoIsAuthorizedPerObject Method (PermissionsEnum, String, String, Boolean) |
Namespace: CMS.Membership
public virtual bool IsAuthorizedPerObject( PermissionsEnum permission, string objectType, string siteName, bool exceptionOnFailure = false )
Exception | Condition |
---|---|
PermissionCheckException | Thrown when permission check fail and exception is allowed by exceptionOnFailure parameter. |