The method initializes a role using type and code.
The method initializes a role using a reference object.
Your review is successfully sent!
Feedback sent successfully
Description of a TRole field
Hierarchy
Methods
create
The method initializes a role using type and code.
Parameters
type: RoleType
code: string
Returns Role
createByItemRef
The method initializes a role using a reference object.
Parameters
item: UserItemRef | UserGroupItemRef | OrganisationStructureItemRef
Returns Role