# User

> Resource User in pulumi-teamcity.

<!-- Generated from the pulumi-teamcity SDK. -->

Resource User in pulumi-teamcity.

Pulumi type: `teamcity:index/user:User`.

`name` is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

## 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.

```ts
import * as teamcity from "pulumi-teamcity"

const resource = new teamcity.User("user", {
  username: "<username>",
})
```

## Arguments

| Property         | Type                 | Required | Description |
| ---------------- | -------------------- | -------- | ----------- |
| `githubUsername` | `string`             | no       |             |
| `password`       | `string`             | no       |             |
| `roles`          | `UserRole (input)[]` | no       |             |
| `username`       | `string`             | yes      |             |

## Outputs

Computed outputs are produced by the provider. They are not constructor arguments.

| Property         | Type                  | Computed | Description |
| ---------------- | --------------------- | -------- | ----------- |
| `githubUsername` | `string`              | no       |             |
| `password`       | `string`              | no       |             |
| `roles`          | `UserRole (output)[]` | no       |             |
| `username`       | `string`              | no       |             |

## `UserRole (input)`

Input object `UserRole`. Fields below belong to this object, not to the parent.

| Property  | Type      | Required | Description |
| --------- | --------- | -------- | ----------- |
| `global`  | `boolean` | no       |             |
| `id`      | `string`  | yes      |             |
| `project` | `string`  | no       |             |

## `UserRole (output)`

Output object `UserRole`. Fields below belong to this object.

| Property  | Type      | Always present | Description |
| --------- | --------- | -------------- | ----------- |
| `global`  | `boolean` | no             |             |
| `id`      | `string`  | yes            |             |
| `project` | `string`  | no             |             |
