public static string GetNameFromSID(SecurityIdentifier sid) { NTAccount ntAccount = (NTAccount)sid.Translate(typeof(NTAccount)); return ntAccount.ToString(); }