mirror of
https://github.com/Kichiyaki/terraform-provider-woodpecker.git
synced 2024-07-01 08:38:06 +00:00
1001 B
1001 B
page_title | subcategory | description |
---|---|---|
woodpecker_user Data Source - terraform-provider-woodpecker | Use this data source to retrieve information about a user. |
woodpecker_user (Data Source)
Use this data source to retrieve information about a user.
Example Usage
# Retrieve information about the currently authenticated user.
data "woodpecker_user" "current" {
login = ""
}
# Retrieve information about a user.
data "woodpecker_user" "user" {
login = "user"
}
Schema
Required
login
(String) The user's login. Use an empty string "" to retrieve information about the currently authenticated user.
Read-Only
avatar_url
(String) the user's avatar URLemail
(String) the user's emailid
(Number) the user's idis_active
(Boolean) whether user is active in the systemis_admin
(Boolean) whether user is an admin