Mozart.UserService (Mozart v0.5.0)

Provides client applications with functionality related to users and groups. Much more functionality to come.

Summary

Functions

Returns a specification to start this module under a supervisor.

Returns the groups that a user is a member of.

Given a user id, return detailed user info.

Adds a new user to the system.

Functions

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

get_assigned_groups(user_name)

Returns the groups that a user is a member of.

Link to this function

get_user(user_name)

Given a user id, return detailed user info.

Link to this function

insert_user(user)

Adds a new user to the system.