Méthode | Description | |
---|---|---|
Count ( |
Count users of specified criteria.
|
|
Delete ( string userId = null, string userName = null ) : Task |
Deletes (permanently) specified user and all associated data objects.
|
|
Get (
|
Gets users of specified criteria that are associated with Data Objects within specified collection.
|
|
GetAll ( string sinceId = null, long limit = MaxLimit ) : Task
|
Gets all users from within instance.
|
|
GetOne ( string userId = null, string userName = null ) : Task |
Get one user.
|
|
Login ( string userName, string password ) : Task |
Logs in a user.
|
|
New ( string userName, string password = null, string nick = null, string avatar = null ) : Task |
Creates a new user.
|
|
Update ( string userId = null, string userName = null, string nick = null, string avatar = null, string newPassword = null, string currentPassword = null ) : Task |
Updates a specified user.
|
|
UserSyncanoClient ( ISyncanoClient syncanoClient ) : System |
Creates UserSyncanoClient object.
|
public Count ( |
||
request | User query request object. | |
Résultat | Task |
public Delete ( string userId = null, string userName = null ) : Task |
||
userId | string | User id defining user to delete. User_id is automatically filled when used with User API key. |
userName | string | User name defining user to delete. |
Résultat | Task |
public Get (
|
||
request | User query request object. | |
Résultat | Task
|
public GetAll ( string sinceId = null, long limit = MaxLimit ) : Task
|
||
sinceId | string | If specified, will only return users with id higher than since_id (newer). |
limit | long | Number of users to be returned. Default and max value: 100 |
Résultat | Task
|
public GetOne ( string userId = null, string userName = null ) : Task |
||
userId | string | User id. User_id is automatically filled when used with User API key. |
userName | string | User name. |
Résultat | Task |
public Login ( string userName, string password ) : Task |
||
userName | string | User name. |
password | string | User's password. |
Résultat | Task |
public New ( string userName, string password = null, string nick = null, string avatar = null ) : Task |
||
userName | string | User name. |
password | string | User's password. |
nick | string | User's nickname. |
avatar | string | User's avatar in Base64 format. |
Résultat | Task |
public Update ( string userId = null, string userName = null, string nick = null, string avatar = null, string newPassword = null, string currentPassword = null ) : Task |
||
userId | string | User id defining user. If both id and name are specified, will use id for getting user while user_name will be updated with provided new value. User_id is automatically filled when used with User API key. |
userName | string | User name defining user. If both id and name are specified, will use id for getting user while user_name will be updated with provided new value. |
nick | string | New user nickname. |
avatar | string | User avatar. If specified as empty string - will instead delete current avatar. |
newPassword | string | New user password. |
currentPassword | string | Current password for confirmation. Required only when used with User API key and new_password is specified. |
Résultat | Task |
public UserSyncanoClient ( ISyncanoClient syncanoClient ) : System | ||
syncanoClient | ISyncanoClient | Object implementing ISyncanoClient interface. Provides means for connecting to Syncano. |
Résultat | System |