Os_userSourceinclude module type of struct include Os.User endType alias to Types.User.id to allow to use User.id.
type t = Os.Types.User.t = {userid : id;fn : string;ln : string;avatar : string option;language : string option;}Type alias to Types.User.t to allow to use User.t.
userid_of_user user returns the userid of the user user.
firstname_of_user user returns the first name of the user user
lastname_of_user user returns the last name of the user user
avatar_of_user user returns the avatar of the user user as Some avatar_uri. It returns None if the user user has no avatar.
avatar_uri_of_avatar ?absolute_path avatar returns the URI (absolute or relative) depending on the value of absolute_path) of the avatar avatar.
val avatar_uri_of_user :
?absolute_path:bool ->
Os.Types.User.t ->
Eliom.Content.Xml.uri optionavatar_uri_of_user user returns the avatar URI (absolute or relative) depending on the value of absolute_path) of the avatar of the user user. It returns None is the user user has no avatar.
language_of_user user returns the language of the user user
Retrieve the full name of user (which is the concatenation of the first name and last name).
is_complete user returns true if the first name and the last name of Types.user have been completed yet.