--- title: "Get-WorkspaceUser" slug: "scripting-get-workspaceuser" tags: ["Enterprise Only"] updated: 2026-01-20T15:58:07Z published: 2026-01-20T15:58:07Z canonical: "help.agilityblue.com/scripting-get-workspaceuser" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.agilityblue.com/llms.txt > Use this file to discover all available pages before exploring further. # Get-WorkspaceUser ## Summary Retrieves an existing workspace user. ```powershell Get-WorkspaceUser    -Id ``` Returns a [workspace user](https://apidocs.agilityblue.com/#e9b6dc8f-2725-403e-8afb-65464c1ad0d0) object. ## Parameters | Parameter | Type | Required? | Notes | | --- | --- | --- | --- | | Id | String | Yes | The workspace user id. | ## Examples ### Get an existing workspace user This example retrieves a specific workspace user and outputs it as JSON. ```powershell # Retrieve a specific user by id $user = Get-WorkspaceUser -Id "08077d23-bb13-4727-b76d-ab8fdf9d870f" Write-Output "Retrieved user '$($user.FullName)' (Id: #$($user.Id), Roles: $($user.Roles), Notifications Enabled: $($user.NotificationsEnabled))" # For debug purposes, convert the entity to output as JSON so we can see the available fields Write-Output "" Write-Output "JSON Results:" $jsonOutput = $user | ConvertTo-Json -Depth 10 # Output the entity Write-Output $jsonOutput ``` Execution results: ```json Retrieved user 'Max Miller' (Id: #08077d23-bb13-4727-b76d-ab8fdf9d870f, Roles: Organization User;Organization Administrator, Notifications Enabled: True) JSON Results: {  "Id": "08077d23-bb13-4727-b76d-ab8fdf9d870f",  "Email": "mmiller@agilityblue.com",  "FirstName": "Max",  "LastName": "Miller",  "FullName": "Max Miller",  "Active": true,  "Deleted": false,  "IsSystemAccount": false,  "IsTeamAccount": false,  "PrimaryColor": "#003366",  "OrganizationId": 1020,  "OrganizationName": "Sadie Blue Software",  "TimeZoneIdentifier": "Central Standard Time",  "Roles": "Organization User;Organization Administrator",  "NotificationsEnabled": true,  "NumberOfProjectsCreated": 0,  "NumberOfProjectsOwned": 0,  "NumberOfTasksCreated": 1,  "NumberOfTasksAssigned": 1,  "NumberOfTasksCompleted": 1,  "NumberOfNotificationRules": 0,  "CreatedOn": "2025-03-06T10:18:00+00:00" } ```