Role is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace.
Definition
class Role : ApiEntity, IApiEntity, IAuditable
{
Role();
Role(Role role);
Role(AdditionalInfo additionalInfo);
Role(Error error);
Role(Warning warning);
Role(IList<Warning> warnings, IList<Error> errors);
string AvatarUrl { get; set; }
string Description { get; set; }
IList<Error> Errors { get; }
int GroupId { get; set; }
int? Id { get; set; }
string ImageUrl { get; set; }
bool IsAdministratorRole { get; set; }
bool IsContextFree { get; set; }
bool IsPrivate { get; set; }
bool IsRoleIdAssigned { get; set; }
bool IsSystemRole { get; set; }
string Name { get; set; }
IList<PermissionEntry> PermissionEntries { get; set; }
Guid? RoleId { get; set; }
IList<Warning> Warnings { get; }
bool HasErrors();
bool HasWarnings();
bool HasWarningsOrErrors();
void ThrowErrors();
}
Constructors
Role();
Role(Role role);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| role | Role | Role | Required |
Role(AdditionalInfo additionalInfo);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| additionalInfo | AdditionalInfo | Additional Info | Required |
Role(Error error);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| error | Error | Error | Required |
Role(Warning warning);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| warning | Warning | Warning | Required |
Role(IList<Warning> warnings, IList<Error> errors);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| warnings | IList<Warning> | Warnings | Required | ||
| errors | IList<Error> | Errors | Required |
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| AvatarUrl | string | |||
| Description | string | |||
| Errors | IList<Error> | |||
| GroupId | int | |||
| Id | int? | |||
| ImageUrl Obsolete | string | Obsolete in 12 | ||
| IsAdministratorRole | bool | |||
| IsContextFree | bool | |||
| IsPrivate | bool | |||
| IsRoleIdAssigned | bool | |||
| IsSystemRole | bool | |||
| Name | string | |||
| PermissionEntries | IList<PermissionEntry> | |||
| RoleId | Guid? | |||
| Warnings | IList<Warning> |