4.1.4.2.5 DomainNameFromSid

 procedure DomainNameFromSid(domainSid: SID): unicodestring 

Looks up the domain SID domainSid among trusted domains and domains in trusted forests. If domainSid is the domain SID of a trusted domain, then the name of this domain is returned. If the input is null, then null is returned.

Show: