explain_trustAttributes

Use the explain_trustAttributes command to convert a trustAttributes value from an Active Directory object field into human-readable form.

Syntax

explain_trustAttributes ta

Options

This command takes no options.

Arguments

This command takes the following argument:

Argument Type Description

ta

string

Required. A trustAttributes value for conversion.

Return value

This command returns a hexadecimal version of the supplied value followed by the names of any flags that are set in the value.

Examples

explain_trustAttributes [get_object_field trustAttributes]

This example returns:

8 FOREST_TRANSITIVE

The unseen value returned by get_object_field trustAttributes in this example was 8, which was converted to the hexadecimal value 8 and the name of the set flag DOMAIN_LOCALSECURITY.

Related Tcl library commands

The following commands perform actions related to this command:

  • explain_groupType converts a groupType value from an Active Directory object into human-readable form.
  • explain_trustDirection converts a trustDirection value from an Active Directory object into human-readable form.
  • explain_userAccountControl converts a userAccountControl value from an Active Directory object into human-readable form.