BCEnvironmentSetUserRolePrivileges Method |
Sets or removes specified privileges on the specified user role in one call.
Namespace: BlueCieloECM.InnoCielo.Meridian.ServerAssembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 4.0.0.0 (4.0.19.0)
Syntax public void SetUserRolePrivileges(
string roleNameOrID,
IEnumerable<string> privilegeNamesToDelete,
IEnumerable<string> privilegeNamesToAdd,
RolePrivilegesFlags flags
)
Public Sub SetUserRolePrivileges (
roleNameOrID As String,
privilegeNamesToDelete As IEnumerable(Of String),
privilegeNamesToAdd As IEnumerable(Of String),
flags As RolePrivilegesFlags
)
public:
void SetUserRolePrivileges(
String^ roleNameOrID,
IEnumerable<String^>^ privilegeNamesToDelete,
IEnumerable<String^>^ privilegeNamesToAdd,
RolePrivilegesFlags flags
)
member SetUserRolePrivileges :
roleNameOrID : string *
privilegeNamesToDelete : IEnumerable<string> *
privilegeNamesToAdd : IEnumerable<string> *
flags : RolePrivilegesFlags -> unit
Parameters
- roleNameOrID
- Type: SystemString
The ID or Name property value of a user role. - privilegeNamesToDelete
- Type: System.Collections.GenericIEnumerableString
The privileges to delete. - privilegeNamesToAdd
- Type: System.Collections.GenericIEnumerableString
The privileges to add. - flags
- Type: BlueCieloECM.InnoCielo.Meridian.ServerRolePrivilegesFlags
A bitmask that is a combination of bit flags from RolePrivilegesFlags.
See Also