API Reference
Class
SchemaGuidResolver
Maps between schema GUIDs (schemaIDGUID/rightsguid) and their names (name/ldapDisplayName/displayName). Centralized, cached, and reusable across the project.
Inheritance
- Object
- SchemaGuidResolver
Methods
public static Void EnsureLoaded(String domainName = null) #Returns:
VoidLoads schema and extended rights maps once per process.
Parameters
- domainName System.String = null
- Optional domain to prefer when locating a DC; when null, uses default RootDSE.
public static IReadOnlyDictionary<Guid, String> GetExtendedRightsMap() #Returns:
IReadOnlyDictionary<Guid, String>Returns the cached map of rightsGuid to display name.
public static IReadOnlyDictionary<Guid, ValueTuple<String, String>> GetSchemaMap() #Returns:
IReadOnlyDictionary<Guid, ValueTuple<String, String>>Returns the cached map of schemaIDGUID to names.
public static Boolean TryGetExtendedRightDisplayName(Guid guid, out String displayName) #Returns:
BooleanAttempts to resolve a rightsGuid to its display name.
Parameters
- guid System.Guid
- displayName System.String@
public static Boolean TryGetGuid(String nameOrDisplayName, out Guid guid) #Returns:
BooleanAttempts to resolve a known schema/right name to its GUID.
Parameters
- nameOrDisplayName System.String
- guid System.Guid@
public static Boolean TryGetSchemaNames(Guid guid, out String name, out String ldapDisplayName) #Returns:
BooleanAttempts to resolve a schemaIDGUID to the class/attribute name and ldapDisplayName.
Parameters
- guid System.Guid
- name System.String@
- ldapDisplayName System.String@