API Reference
Class
Groups (DirectoryQuery)
Group-centric helpers.
Inheritance
- Object
- Groups
Methods
public static async Task<ValueTuple<List<IdentityInfo>, Boolean>> GetMembersAsync(String identity, String domainHint = null, Nullable<TimeSpan> timeout = null, CancellationToken ct = null) #Returns:
Task<ValueTuple<List<IdentityInfo>, Boolean>>Returns resolved members of a group specified by SID, DN, DOMAIN\Name, UPN, or friendly name (e.g., "DnsAdmins"). Uses IdentityResolver when possible and falls back to AdminGroupService for recognized names with RID/builtin SID.
Parameters
- identity System.String
- domainHint System.String = null
- timeout System.Nullable{System.TimeSpan} = null
- ct System.Threading.CancellationToken = null