Click or drag to resize

BCSUserHasRole Method (String, DisposableObject)

Determines whether the user has a role with the specified name.

Namespace:  BlueCieloECM.InnoCielo.Meridian.Scripting
Assembly:  BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 4.0.0.0 (4.0.111.0)
Syntax
public bool HasRole(
	string name,
	DisposableObject enclosure
)

Parameters

name
Type: SystemString
The name of the role.
enclosure
Type: BlueCieloECM.InnoCielo.MeridianDisposableObject
The object that defines the security enclosure for which the role is evaluated. By default this is the work area of the document (or the parent folder when in the main area).

Return Value

Type: Boolean
A value indicating whether the user has a role with the specified name.
Remarks
The enclosure can be Document (same as Document.ParentFolder), Folder, Vault (=RootFolder), WorkArea.
See Also