BCRepositoryGetUserPrivileges Method (String, String, Boolean) |
Namespace: BlueCieloECM.InnoCielo.Meridian.Server
public BCTableView GetUserPrivileges( string userName, string enclosureID, bool includeDocType )
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.
If includeDocType is , the tableview will include a row for each document type. First column will contain ID property value of the document type and only the document type category column will be filled (the other ones will contain ).