Returns a collection of document types that can be created
with privileges of the specified enclosure.
Namespace: BlueCieloECM.InnoCielo.Meridian.ServerAssembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.40.0)
Syntax
C# |
---|
public BCReadOnlyCollection<BCDocumentType> GetCreatableDocumentTypes( string userName, string extension, string enclosureID ) |
Visual Basic |
---|
Public Function GetCreatableDocumentTypes ( _ userName As String, _ extension As String, _ enclosureID As String _ ) As BCReadOnlyCollection(Of BCDocumentType) |
Visual C++ |
---|
public: BCReadOnlyCollection<BCDocumentType^>^ GetCreatableDocumentTypes( String^ userName, String^ extension, String^ enclosureID ) |
Parameters
- userName
- Type: System..::..String
The name of the user. If null or an empty string then the current user is used.
- extension
- Type: System..::..String
The file extension to which the document type is mapped. If null or an empty string, file extension mapping is not considered.
- enclosureID
- Type: System..::..String
The ID property value of the enclosure that defines user role assignments.
Return Value
The collection of document types that can be created with privileges of the specified enclosure.Remarks
The collection will contain only those document types that have
the PRIVILEGE_DOCUMENT_TYPE_CREATE privilege on the given enclosure.