Click or drag to resize
DocumentSecurityHelperIsAuthorizedToCreateNewDocument Method (Int32, 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(int parentNodeId, string documentClassName, string culture, UserInfo userInfo) instead.")]
public static bool IsAuthorizedToCreateNewDocument(
	int parentNodeId,
	string documentClassName,
	string siteName,
	string culture,
	UserInfo userInfo
)

Parameters

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

Return Value

Type: Boolean
See Also