Click or drag to resize

BCRepositoryGetUserPrivileges Method (String, String, PrivilegeInfoFlags)

Returns all privileges for the specified user on the specified enclosure.

Namespace:  BlueCieloECM.InnoCielo.Meridian.Server
Assembly:  BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 4.0.0.0 (4.0.111.0)
Syntax
public BCTableView GetUserPrivileges(
	string userName,
	string enclosureID,
	PrivilegeInfoFlags flags
)

Parameters

userName
Type: SystemString
The name of the user. If or an empty string, the current user is used.
enclosureID
Type: SystemString
The ID property value of an enclosure to get privileges from. If the specified object is not an enclosure, the server will find an active enclosure for it, taking into account the current context.
flags
Type: BlueCieloECM.InnoCielo.Meridian.ServerPrivilegeInfoFlags
A bitmask that is a combination of bit flags from PrivilegeInfoFlags.

Return Value

Type: BCTableView
All privileges for the specified user on the specified enclosure.
Remarks

The function will return a tableview (variant grid) of all privileges that are available for the specified user.

The tableview will contain a number of columns equal to the number of privilege categories plus one. First column in the tableview will contain the ID property value of the object to which these privileges are applied (for object-specific privileges) and for class-wide privileges. Other columns will contain a privileges bit mask for each privilege category.

See Also