| 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
)
Public Function GetGUIDByAttribute (
attributeName As String,
attributeValue As String
) As Guid
public:
Guid GetGUIDByAttribute(
String^ attributeName,
String^ attributeValue
)
member GetGUIDByAttribute :
attributeName : string *
attributeValue : string -> Guid
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:
GuidThe GUID of the entry, or an Empty GUID if it could not be found, or there was an error retrieving it.
See Also