UserInfo
UserInfo contains just the display information for a user. This information may be returned from public APIs, and as such this structure must not contain sensitive information. Please refer to User for this sort of thing.
Properties
namestring requiredThe user’s display name.githubLoginstring requiredThe user’s login name.avatarUrlstring requiredThe URL of the user’s avatar image.emailstring optionalThe user’s email address. It is only populated on selected endpoints and is omitted from most responses. Treat it as sensitive information.servicePrincipalKindenum optionalThe type of service principal the user is. Set only where service principals are listed next to people, such as an organization’s members and the access granted on an entity.Values:team— Team- The service principal of a team, which the team’s access tokens authenticate as.
user-defined— UserDefined- A service principal created by a member of the organization, with its own roles, entity access and access tokens.
custom-agent-definition— CustomAgentDefinition- The service principal of a custom Neo agent, which gets its access from the agent’s settings.
delivery— Delivery- The service principal Pulumi Delivery creates for a pipeline that names no identity of its own.