OpenXchangeClient.Api.UserMe (open_xchange_client v0.10.0)

API calls for all endpoints tagged UserMe.

Link to this section Summary

Functions

Gets information about current user.

Link to this section Functions

Link to this function

get_current_user(connection, session, opts \\ [])

@spec get_current_user(Tesla.Env.client(), String.t(), keyword()) ::
  {:ok, OpenXchangeClient.Model.CurrentUserResponse.t()}
  | {:error, Tesla.Env.t()}

Gets information about current user.

parameters

Parameters

  • connection (OpenXchangeClient.Connection): Connection to server
  • session (String.t): A session ID previously obtained from the login module.
  • opts (KeywordList): [optional] Optional parameters

returns

Returns

on success {:error, Tesla.Env.t} on failure