Click or drag to resize
DocumentSecurityHelperIsAuthorizedToCreateNewDocument Method (Int32, String, String, UserInfo)
Checks whether the user is authorized to create new document.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public static bool IsAuthorizedToCreateNewDocument(
	int parentNodeId,
	string documentClassName,
	string culture,
	UserInfo userInfo
)

Parameters

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

Return Value

Type: Boolean
See Also