4.1.4.2.15 LookupSID

 procedure LookupSID(flags: DWORD, sid: SID): set of DSName

Informative summary of behavior: The LookupSID procedure is a helper function that implements the SID lookup algorithm.

  
 rt1, rt2: set of DSName
  
 rt1 := LookupAttr(flags, objectSid, sid)
 rt2 := LookupAttr(flags, sIDHistory, sid)
   
 return rt1 + rt2