get_uid
Retrieve the current user identity and privilege level from an agent by executing the native getuid beacon command.
Instructions
Get the current user identity on the agent. Runs native 'getuid' beacon command. Returns: username and privilege level of the current token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |