DSName is an abstract type for representing a dsname. It corresponds to the concrete representation DSNAME. It consists of a tuple that identifies an object in the directory. This tuple is discussed in [MS-ADTS] section 184.108.40.206.5. For this document, the fields of the tuple are defined as follows:
type DSName = [dn: StringName , guid: GUID, sid: Sid]
The sid field corresponds to the Sid field of the DSNAME structure. If the object possesses an objectSid attribute, it contains the value of the object's objectSid attribute. If the object does not possess an objectSid attribute, the field is null.