UserRepository
Allows retrieving users. An instance of this class must be obtained using Session.getUserRepository
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
getActions(): * |
|
public |
getUser$(userId: *): * Allows obtaining a representation of any user of the system |
|
public |
getUserByAddress$(address: *): * Allows obtaining a representation of any user of the system |
Public Constructors
public constructor() source
Public Methods
public getUser$(userId: *): * source
Allows obtaining a representation of any user of the system
Params:
Name | Type | Attribute | Description |
userId | * | The id of the requested user |
Return:
* | An observable emitting a representation of the user with the provided ID as soon as it is available and, subsequently, all the updates that occur in any of its properties. |
public getUserByAddress$(address: *): * source
Allows obtaining a representation of any user of the system
Params:
Name | Type | Attribute | Description |
address | * | The address of the requested user |
Return:
* | An observable emitting a representation of the user with the provided ID as soon as it is available and, subsequently, all the updates that occur in any of its properties. |