更新时间:2021-06-30 08:05:24
最后一个例子可能是最相关的.
The last example is probably the most relevant.
IGroupSecurityService gss = (IGroupSecurityService)server.GetService(typeof(IGroupSecurityService));
Identity[] UserId = gss.ReadIdentities(SearchFactor.Sid, SIDS.Members, QueryMembership.None);