BCEnvironmentGetCreatableDocumentTypes Method (String, String, String) |
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: 4.0.0.0 (4.0.19.0)
Syntaxpublic BCReadOnlyCollection<BCDocumentType> GetCreatableDocumentTypes(
string userName,
string extension,
string enclosureID
)
Public Function GetCreatableDocumentTypes (
userName As String,
extension As String,
enclosureID As String
) As BCReadOnlyCollection(Of BCDocumentType)
public:
BCReadOnlyCollection<BCDocumentType^>^ GetCreatableDocumentTypes(
String^ userName,
String^ extension,
String^ enclosureID
)
member GetCreatableDocumentTypes :
userName : string *
extension : string *
enclosureID : string -> BCReadOnlyCollection<BCDocumentType>
Parameters
- userName
- Type: SystemString
The name of the user. If null or an empty string then the current user is used.
- extension
- Type: SystemString
The file extension to which the document type is mapped.
If null or an empty string, file extension mapping is not considered. - enclosureID
- Type: SystemString
The ID property value of the enclosure that defines user role assignments.
Return Value
Type:
BCReadOnlyCollectionBCDocumentTypeThe 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.
See Also