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

Account

new \Kronup\Model\Account();

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\AccountTeam[] Account Teams
getRoleSite() string User site role ( founder moderator user )
getRoleOrg() \Kronup\Model\AccountRoleOrg[] Organization roles
getClosedTime() float Account closed UNIX timestamp; 0 means the account is active [default to 0]
getCreatedAt() string Created timestamp
getUpdatedAt() string Updated timestamp
getOrgs() \Kronup\Model\Organization[] Organizations
getOrgsTeams() \Kronup\Model\OrganizationTeams[] Organization Teams
getApiCalls() array<string,float> List of daily API Calls from this account