Create a new UserRole

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

Syntax

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

Parameters

folio
Type: Cartella.Interfaces..::..IEntity
Folio the user role belongs to, cannot be null
user
Type: Cartella.Interfaces..::..IUser
User
role
Type: Cartella.Interfaces..::..IRole
Role for the user in this Folio

Field Value

IUserRole

Return Value

Created UserRole

See Also