Get a user role to this folio. A way to state security for the folio.

Namespace: Cartella.Interfaces
Assembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
IUserRole AddUserRole(
	IUser user,
	IRole role
)
Visual Basic
Function AddUserRole ( _
	user As IUser, _
	role As IRole _
) As IUserRole
Visual C++
IUserRole^ AddUserRole(
	IUser^ user, 
	IRole^ role
)

Parameters

user
Type: Cartella.Interfaces..::..IUser
User to add
role
Type: Cartella.Interfaces..::..IRole
Role of the user

Field Value

IUserRole

Return Value

UserRole added to the folio

See Also