DocumentSecurityHelper.IsAuthorizedPerDocument Method (Int32, String, NodePermissionsEnum, String, UserInfo) |
Checks if the user is authorized for specified document (Checks all CONTENT, Document type and ACL permissions).
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntaxpublic static AuthorizationResultEnum IsAuthorizedPerDocument(
int nodeId,
string className,
NodePermissionsEnum permission,
string culture,
UserInfo userInfo
)
Parameters
- nodeId
- Type: System.Int32
ID of node - className
- Type: System.String
Class name of the document - permission
- Type: CMS.DocumentEngine.NodePermissionsEnum
Permission - culture
- Type: System.String
Culture to check - userInfo
- Type: CMS.Membership.UserInfo
User to check
Return Value
Type:
AuthorizationResultEnum
See Also