Viewing docs for Tailscale v0.27.0
published on Friday, Feb 20, 2026 by Pulumi
published on Friday, Feb 20, 2026 by Pulumi
Viewing docs for Tailscale v0.27.0
published on Friday, Feb 20, 2026 by Pulumi
published on Friday, Feb 20, 2026 by Pulumi
The user data source describes a single user in a tailnet
Using getUser
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>def get_user(id: Optional[str] = None,
login_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(id: Optional[pulumi.Input[str]] = None,
login_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]func GetUser(ctx *Context, args *GetUserArgs, opts ...InvokeOption) (*GetUserResult, error)
func GetUserOutput(ctx *Context, args *GetUserOutputArgs, opts ...InvokeOption) GetUserResultOutput> Note: This function is named GetUser in the Go SDK.
public static class GetUser
{
public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
fn::invoke:
function: tailscale:index/getUser:getUser
arguments:
# arguments dictionaryThe following arguments are supported:
- id str
- The unique identifier for the user.
- login_
name str - The emailish login name of the user.
getUser Result
The following output properties are available:
- Created string
- The time the user joined their tailnet.
- Currently
Connected bool - true when the user has a node currently connected to the control server.
- Device
Count int - Number of devices the user owns.
- Display
Name string - The name of the user.
- Last
Seen string - The later of either: a) The last time any of the user's nodes were connected to the network or b) The last time the user authenticated to any tailscale service, including the admin panel.
- Profile
Pic stringUrl - The profile pic URL for the user.
- Role string
- The role of the user.
- Status string
- The status of the user.
- Tailnet
Id string - The tailnet that owns the user.
- Type string
- The type of relation this user has to the tailnet associated with the request.
- Id string
- The unique identifier for the user.
- Login
Name string - The emailish login name of the user.
- Created string
- The time the user joined their tailnet.
- Currently
Connected bool - true when the user has a node currently connected to the control server.
- Device
Count int - Number of devices the user owns.
- Display
Name string - The name of the user.
- Last
Seen string - The later of either: a) The last time any of the user's nodes were connected to the network or b) The last time the user authenticated to any tailscale service, including the admin panel.
- Profile
Pic stringUrl - The profile pic URL for the user.
- Role string
- The role of the user.
- Status string
- The status of the user.
- Tailnet
Id string - The tailnet that owns the user.
- Type string
- The type of relation this user has to the tailnet associated with the request.
- Id string
- The unique identifier for the user.
- Login
Name string - The emailish login name of the user.
- created String
- The time the user joined their tailnet.
- currently
Connected Boolean - true when the user has a node currently connected to the control server.
- device
Count Integer - Number of devices the user owns.
- display
Name String - The name of the user.
- last
Seen String - The later of either: a) The last time any of the user's nodes were connected to the network or b) The last time the user authenticated to any tailscale service, including the admin panel.
- profile
Pic StringUrl - The profile pic URL for the user.
- role String
- The role of the user.
- status String
- The status of the user.
- tailnet
Id String - The tailnet that owns the user.
- type String
- The type of relation this user has to the tailnet associated with the request.
- id String
- The unique identifier for the user.
- login
Name String - The emailish login name of the user.
- created string
- The time the user joined their tailnet.
- currently
Connected boolean - true when the user has a node currently connected to the control server.
- device
Count number - Number of devices the user owns.
- display
Name string - The name of the user.
- last
Seen string - The later of either: a) The last time any of the user's nodes were connected to the network or b) The last time the user authenticated to any tailscale service, including the admin panel.
- profile
Pic stringUrl - The profile pic URL for the user.
- role string
- The role of the user.
- status string
- The status of the user.
- tailnet
Id string - The tailnet that owns the user.
- type string
- The type of relation this user has to the tailnet associated with the request.
- id string
- The unique identifier for the user.
- login
Name string - The emailish login name of the user.
- created str
- The time the user joined their tailnet.
- currently_
connected bool - true when the user has a node currently connected to the control server.
- device_
count int - Number of devices the user owns.
- display_
name str - The name of the user.
- last_
seen str - The later of either: a) The last time any of the user's nodes were connected to the network or b) The last time the user authenticated to any tailscale service, including the admin panel.
- profile_
pic_ strurl - The profile pic URL for the user.
- role str
- The role of the user.
- status str
- The status of the user.
- tailnet_
id str - The tailnet that owns the user.
- type str
- The type of relation this user has to the tailnet associated with the request.
- id str
- The unique identifier for the user.
- login_
name str - The emailish login name of the user.
- created String
- The time the user joined their tailnet.
- currently
Connected Boolean - true when the user has a node currently connected to the control server.
- device
Count Number - Number of devices the user owns.
- display
Name String - The name of the user.
- last
Seen String - The later of either: a) The last time any of the user's nodes were connected to the network or b) The last time the user authenticated to any tailscale service, including the admin panel.
- profile
Pic StringUrl - The profile pic URL for the user.
- role String
- The role of the user.
- status String
- The status of the user.
- tailnet
Id String - The tailnet that owns the user.
- type String
- The type of relation this user has to the tailnet associated with the request.
- id String
- The unique identifier for the user.
- login
Name String - The emailish login name of the user.
Package Details
- Repository
- tailscale pulumi/pulumi-tailscale
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
tailscaleTerraform Provider.
Viewing docs for Tailscale v0.27.0
published on Friday, Feb 20, 2026 by Pulumi
published on Friday, Feb 20, 2026 by Pulumi
