DocumentSecurityHelperIsAuthorizedToCreateNewDocument Method (TreeNode, String, String, UserInfo) |
Checks whether the user is authorized to create new document.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public static bool IsAuthorizedToCreateNewDocument(
TreeNode parentNode,
string documentClassName,
string culture,
UserInfo userInfo
)
Parameters
- parentNode
- Type: CMS.DocumentEngineTreeNode
Parent node - documentClassName
- Type: SystemString
Document class name - culture
- Type: SystemString
Culture - userInfo
- Type: CMS.MembershipUserInfo
User to check
Return Value
Type:
BooleanSee Also