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. |
return | Task |