D2lvalenceElixir.Utils.Service.update_user
You're seeing just the function
update_user
, go back to D2lvalenceElixir.Utils.Service module for more information.
Link to this function
update_user(user_context, user_id, update_user_data, options \\ [])
View SourceSpecs
update_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(), %D2lvalenceElixir.Data.UpdateUserData{ activation: term(), external_email: term(), first_name: term(), last_name: term(), middle_name: term(), org_defined_id: term(), user_name: term() }, serializers: map(), ver: String.t(), body: list() ) :: {:error, String.t()} | {:ok, any()}
Creates the user with the information provided.
Returns
{:error, cause}
when an error is caused.
{:ok, %D2lvalenceElixir.Data.UserData{}}
the result contains the information created.
Options
version: version of the component to verify. If not specified, will get the version of the component. serializers: Map of availaber serializers. application/json recommended. body: Options to pass to the body of the request.