public string GetGroupSid(string groupName) { _SID sid = DtypUtility.GetSidFromGroupName(domainName, groupName, adminName, adminPassword); return(sid.GetSddlForm()); }
public string GetUserSid(string userName) { _SID sid = DtypUtility.GetSidFromAccount(domainName, userName, adminName, adminPassword); return(sid.GetSddlForm()); }