API Reference
Class
GroupParentCache
Caches parent group lookups to avoid repeated LDAP queries.
Inheritance
- Object
- GroupParentCache
Methods
Get 2 overloads
public static GroupParentResult Get(IEnumerable<String> identities, String domain = null, Func<IEnumerable<String>, String, GroupParentResult> factory = null) #Returns:
GroupParentResultRetrieves a cached synchronous result for a single identity.
Parameters
- identity System.String
- Object identity in DN, SID, UPN or SAM format.
- domain System.String = null
- Optional domain controller or domain to query.
- factory System.Func{System.Collections.Generic.IEnumerable{System.String},System.String,ADPlayground.GroupParentResult} = null
- Optional factory used to resolve the parent groups.
Get(System.Collections.Generic.IEnumerable{System.String} identities, System.String domain, System.Func{System.Collections.Generic.IEnumerable{System.String},System.String,ADPlayground.GroupParentResult} factory) #Retrieves a cached synchronous result for multiple identities.
Parameters
- identities System.Collections.Generic.IEnumerable{System.String}
- Collection of identities.
- domain System.String
- Optional domain controller or domain to query.
- factory System.Func{System.Collections.Generic.IEnumerable{System.String},System.String,ADPlayground.GroupParentResult}
- Optional factory used to resolve the parent groups.
GetAsync 2 overloads
public static Task<GroupParentResult> GetAsync(IEnumerable<String> identities, String domain = null, Func<IEnumerable<String>, String, Task<GroupParentResult>> factory = null) #Returns:
Task<GroupParentResult>Retrieves a cached result for a single identity.
Parameters
- identity System.String
- Object identity in DN, SID, UPN or SAM format.
- domain System.String = null
- Optional domain controller or domain to query.
- factory System.Func{System.Collections.Generic.IEnumerable{System.String},System.String,System.Threading.Tasks.Task{ADPlayground.GroupParentResult}} = null
- Optional factory used to resolve the parent groups.
GetAsync(System.Collections.Generic.IEnumerable{System.String} identities, System.String domain, System.Func{System.Collections.Generic.IEnumerable{System.String},System.String,System.Threading.Tasks.Task{ADPlayground.GroupParentResult}} factory) #Retrieves a cached result for multiple identities.
Parameters
- identities System.Collections.Generic.IEnumerable{System.String}
- Collection of identities.
- domain System.String
- Optional domain controller or domain to query.
- factory System.Func{System.Collections.Generic.IEnumerable{System.String},System.String,System.Threading.Tasks.Task{ADPlayground.GroupParentResult}}
- Optional factory used to resolve the parent groups.