BCSUserHasPrivilege Method (String, DisposableObject) |
Determines whether the user has a privilege with the specified name.
Namespace: BlueCieloECM.InnoCielo.Meridian.ScriptingAssembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 4.0.0.0 (4.0.19.0)
Syntaxpublic bool HasPrivilege(
string privilegeName,
DisposableObject enclosure
)
Public Function HasPrivilege (
privilegeName As String,
enclosure As DisposableObject
) As Boolean
public:
bool HasPrivilege(
String^ privilegeName,
DisposableObject^ enclosure
)
member HasPrivilege :
privilegeName : string *
enclosure : DisposableObject -> bool
Parameters
- privilegeName
- Type: SystemString
The name of the privilege to check.
- enclosure
- Type: BlueCieloECM.InnoCielo.MeridianDisposableObject
The object that defines the security enclosure for which the privilege is evaluated.
By default this is the work area of the document (or the parent folder when in the main area).
Return Value
Type:
BooleanA value indicating whether the user has the specified privilege.
Remarks
The
enclosure can be Document (same as Document.ParentFolder), Folder,
Vault (=RootFolder), WorkArea.
If
enclosure is null, then the enclosure is the object the
BCSMetadata was initialized with.
See Also