Skip to main content Link Menu Expand (external link) Document Search Copy Copied

User

new \Kronup\Model\User();

Model getters

Method name Return type Description
getId() string User ID
getProvider() string Account provider
getUserName() string User name
getUserEmail() string User email
getUserAvatarId() string User avatar ID
getUserColor() string User profile color ( clear red orange yellow green blue pink violet )
getServiceAccount() bool Service accounts can only perform actions through API calls [default to false]
getPuppetAccount() bool Puppet accounts replace users removed from organizations. Puppets can no longer perform any actions [default to false]
getTeams() \Kronup\Model\UserTeam[] User Teams
getRoleSite() string User site role ( founder moderator user )
getRoleOrg() string User organization role ( owner admin member )
getClosedTime() float Account closed UNIX timestamp; 0 means the account is active [default to 0]
getCreatedAt() string Created timestamp
getUpdatedAt() string Updated timestamp