D2lvalenceElixir.Utils.Service.get_user
You're seeing just the function
get_user
, go back to D2lvalenceElixir.Utils.Service module for more information.
Specs
get_user( %D2lvalenceElixir.Auth.D2LUserContext{ anonymous: term(), app_id: term(), app_key: term(), encrypt_requests: term(), host: term(), scheme: term(), server_skew: term(), user_id: term(), user_key: term() }, String.t(), keyword() ) :: {:error, String.t()} | {:ok, %D2lvalenceElixir.Data.UserData{ activation: term(), external_email: term(), first_name: term(), is_active: term(), last_name: term(), middle_name: term(), org_defined_id: term(), org_id: term(), unique_identifier: term(), user_id: term(), user_name: term() }}
Get the information of an user.
Returns
{:error, cause}
when an error is caused.
{:ok, %D2lvalenceElixir.Data.UserData{}}
with the information requested
Options
serializers: Map of availaber serializers. application/json recommended. body: Options to pass to the body of the request.