Vridlo/types/User

From ALT Linux Wiki

User is a primary structure that represents User model. It is described as:

  • id is natural mandatory read-only
Unique identifier of user.
  • names is Name array mandatory
Name array for the account. It can include first name, last name, nickname, or title.
  • recitals is Recital array mandatory
Recitals array for the user, it describes all of user's logins, email, jabber addresses etc.
  • descriptions is Lorem array optional
Descriptions array of the user, which is defined as array of Lorems.
  • permission_slugs is string array mandatory
Defines slugs of the account's permissions, the permissions include the admin, or any other write permission to a model.
  • sign_in_count is positive mandatory read-only
Unique identifier of user.
  • current_sign_in_at is datetime mandatory read-only
Current signed in as datetime. Can be blank, when user have signed in less than once.
  • last_sign_in_at is datetime mandatory read-only
Last time signed in as datetime. Can be blank, when user have signed in less than two times.
  • confirmed is boolean mandatory read-only
Confirmed user state.