Click or drag to resize
Galactic API

ActiveDirectoryGetGUIDByAttribute Method

Gets the GUID of the entry with the supplied attribute value.

Namespace:  Galactic.ActiveDirectory
Assembly:  Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public Guid GetGUIDByAttribute(
	string attributeName,
	string attributeValue
)

Parameters

attributeName
Type: SystemString
The name of the attribute to search.
attributeValue
Type: SystemString
The attribute value of the entry to get the GUID of.

Return Value

Type: Guid
The GUID of the entry, or an Empty GUID if it could not be found, or there was an error retrieving it.
See Also