DocumentSecurityHelperIsAuthorizedToCreateNewDocument Method (Int32, 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(
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:
BooleanSee Also