| 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
)
Public Function GetStringAttributeValue (
name As String,
entry As SearchResultEntry
) As String
public:
String^ GetStringAttributeValue(
String^ name,
SearchResultEntry^ entry
)
member GetStringAttributeValue :
name : string *
entry : SearchResultEntry -> string
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:
StringA first string value held in the attribute, or null if there was an error retrieving the value or the attribute was empty.
See Also