Click or drag to resize
Galactic API

ActiveDirectoryGetStringAttributeValue Method

Gets the first string attribute value from the supplied entry.

Namespace:  Galactic.ActiveDirectory
Assembly:  Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax
public string GetStringAttributeValue(
	string name,
	SearchResultEntry entry
)

Parameters

name
Type: SystemString
The name of the attribute to retrieve.
entry
Type: System.DirectoryServices.ProtocolsSearchResultEntry
The SearchResultEntry to get the attribute value from.

Return Value

Type: String
A first string value held in the attribute, or null if there was an error retrieving the value or the attribute was empty.
See Also