public string GetGuid()
 {
     return(_entry.GetGuid());
 }
예제 #2
0
 /// <summary>
 /// Attempts to get the unique object identifier as used by BloodHound for the Search Result Entry. Tries to get objectsid first, and then objectguid next.
 /// </summary>
 /// <param name="entry"></param>
 /// <returns>String representation of the entry's object identifier or null</returns>
 public static string GetObjectIdentifier(this SearchResultEntry entry)
 {
     return(entry.GetSid() ?? entry.GetGuid());
 }