Skip to main content

getProjectUser

Function getProjectUser in pulumi-infisical.
2 min read

Function getProjectUser in pulumi-infisical.

Invoke token: infisical:index/getProjectUser:getProjectUser.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

getProjectUserOutput accepts Input values and returns Output of the same result.

Arguments#

PropertyTypeRequiredDescription
projectIdstringyes
userIdstringyes

Result#

PropertyTypeAlways presentDescription
membershipIdstringyes
projectIdstringyes
rolesGetProjectUserRole[]yes
userGetProjectUserUseryes
userIdstringyes
usernamestringyes

GetProjectUserRole#

Output object GetProjectUserRole. Fields below belong to this object.

PropertyTypeAlways presentDescription
customRoleIdstringyesThe ID of the custom role, if applicable.
idstringyesThe ID of the project user role.
isTemporarybooleanyesFlag to indicate whether the assigned role is temporary.
roleSlugstringyesThe slug of the role.
temporaryAccessEndTimestringyesISO time at which temporary access ends. Null for permanent roles.
temporaryAccessStartTimestringyesISO time at which temporary access begins. Null for permanent roles.
temporaryModestringyesType of temporary access given. Null for permanent roles.
temporaryRangestringyesTTL for the temporary access. Null for permanent roles.

GetProjectUserUser#

Output object GetProjectUserUser. Fields below belong to this object.

PropertyTypeAlways presentDescription
emailstringyesThe email of the user
firstNamestringyesThe first name of the user
idstringyesThe id of the user
lastNamestringyesThe last name of the user