Creates a new assignment for the specified user or user-group to the given role.

Namespace: BlueCieloECM.InnoCielo.Meridian.Server
Assembly: BlueCieloECM.InnoCielo.Meridian (in BlueCieloECM.InnoCielo.Meridian.dll) Version: 1.4.0.0 (1.4.40.0)

Syntax

C#
public BCUserRoleAssignment NewAssignment(
	string userOrUsergroup,
	BCUserRole role
)
Visual Basic
Public Function NewAssignment ( _
	userOrUsergroup As String, _
	role As BCUserRole _
) As BCUserRoleAssignment
Visual C++
public:
BCUserRoleAssignment^ NewAssignment(
	String^ userOrUsergroup, 
	BCUserRole^ role
)

Parameters

userOrUsergroup
Type: System..::..String
The user or user group to which assign the role.
role
Type: BlueCieloECM.InnoCielo.Meridian.Server..::..BCUserRole
The role to assign.

Return Value

The created assignment.

See Also