guid_to_id
Use the guid_to_id command to specify a globally unique identifier (GUID) for a user or group and returns a UID or GID that uses the Apple methodology for automatically generated unique identifiers.
Zone Type
Not applicable
Syntax
guid_to_id guid
Abbreviation
None.
Options
This command takes no options.
Arguments
This command takes the following argument:
| Argument | Type | Description |
|---|---|---|
| guid | string | Required. Specifies the globally unique identifier for a user or group. |
Return Value
This command returns UID or GID for the user or group generated using the Apple mechanism for automatically generating identifiers.
Examples
guid_to_id 763ddbc8-44cc-4a79-83aa-abc899b46aba
This example returns the UID for the user associated with the specified globally unique identifier:
1983765448
Related Commands
The following command performs actions related to this command:
principal_to_idreturns a unique UID or GID based on either the Apple methodology or the Delinea Auto Zone methodology for generating numeric identifiers.sid_to_uidconverts a user’s security identifier to a numeric identifier (UID).
help
Use the help command to return information about one or more ADEdit commands. It’s followed by a command pattern that is either the name of a single ADEdit command or a string with wild cards that specifies multiple possible commands. The command pattern can also be a command abbreviation.
The command pattern wild cards are:
?for a single character*for multiple characters
Zone Type
Not applicable
Syntax
help command_pattern
Abbreviation
h
Options
This command takes no options.
Arguments
This command takes the following argument:
| Argument | Type | Description |
|---|---|---|
| command_pattern | string | Required. Specifies the name of one or more ADEdit commands for which to return information. You can specify a command name, command shortcut or use the ? and * wild cards to specify a single character or multiple characters respectively. |
Return Value
This command returns information for the specified command or commands. If there’s no match for the command_pattern you specify, the command returns nothing.
Examples
help explain_sd
This example returns information for the explain_sd command.
help ?et*
This example returns information for the ADEdit commands that start with get or set, such as get_zones, get_zone_field, set_zone_field, and set_role_field.
Related Commands
None.