Click or drag to resize

BCEnvironmentSetUserRolePrivileges Method

Sets or removes specified privileges on the specified user role in one call.

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 void SetUserRolePrivileges(
	string roleNameOrID,
	IEnumerable<string> privilegeNamesToDelete,
	IEnumerable<string> privilegeNamesToAdd,
	RolePrivilegesFlags flags
)

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