Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { model.BaseEntity Firstname string `json:"firstname"` Lastname string `json:"lastname"` Email string `json:"email"` Initials string `json:"initials"` Active bool `json:"active"` Editor bool `json:"editor"` Admin bool `json:"admin"` ViewUsers bool `json:"viewUsers"` Global bool `json:"global"` Password string `json:"-"` Salt string `json:"-"` Reset string `json:"-"` Accounts []account.Account `json:"accounts"` }
User defines a login.
func (*User) GetAccount ¶
GetAccount returns matching org account using orgID
func (*User) ProtectSecrets ¶
func (user *User) ProtectSecrets()
ProtectSecrets blanks sensitive data.
Click to show internal directories.
Click to hide internal directories.