using System;
using System.Security.Principal;
using System.Text;
static class ConvertUtility
{
public static string ConvertBytesToSidString(byte[] sidBytes)
{
string sid = String.Empty;
sid = new SecurityIdentifier(sidBytes, 0).ToString();
return sid;
}
}