Click or drag to resize
DocumentSecurityHelperIsAuthorizedToCreateNewDocument Method (TreeNode, String, String, String, UserInfo)

Note: This API is now obsolete.

Checks whether the user is authorized to create new document.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This method is obsolete, use IsAuthorizedToCreateNewDocument(TreeNode parentNode, string documentClassName, string culture, UserInfo userInfo) instead.")]
public static bool IsAuthorizedToCreateNewDocument(
	TreeNode parentNode,
	string documentClassName,
	string siteName,
	string culture,
	UserInfo userInfo
)

Parameters

parentNode
Type: CMS.DocumentEngineTreeNode
Parent node
documentClassName
Type: SystemString
Document class name
siteName
Type: SystemString
Name of site
culture
Type: SystemString
Culture
userInfo
Type: CMS.MembershipUserInfo
User to check

Return Value

Type: Boolean
See Also