projects/netgrif-components-core/src/lib/resources/interface/user-resource.ts
The user object as sent by backend. The frontend transforms this object with the help of UserTransformer and uses the transformed object to handle all frontend logic.
Properties |
|
_links |
_links:
|
Type : any
|
Optional |
authorities |
authorities:
|
Type : Array<Authority>
|
groups |
groups:
|
Type : Array<Group>
|
impersonated |
impersonated:
|
Type : UserResource
|
Optional |
nextGroups |
nextGroups:
|
Type : Array<string>
|
processRoles |
processRoles:
|
Type : Array<ProcessRole>
|
telNumber |
telNumber:
|
Type : string
|
Optional |
import {UserResourceSmall} from './user-resource-small';
import {Group} from './group';
import {Authority} from './authority';
import {ProcessRole} from './process-role';
/**
* The user object as sent by backend. The frontend transforms this object with the help of {@link UserTransformer}
* and uses the transformed object to handle all frontend logic.
*/
export interface UserResource extends UserResourceSmall {
telNumber?: string;
groups: Array<Group>;
authorities: Array<Authority>;
nextGroups: Array<string>;
processRoles: Array<ProcessRole>;
impersonated?: UserResource;
_links?: any;
}