| ActiveDirectoryGetGUIDBySAMAccountName Method |
Gets the GUID of the entry with the supplied SAM account name.
Namespace:
Galactic.ActiveDirectory
Assembly:
Galactic.ActiveDirectory (in Galactic.ActiveDirectory.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public Guid GetGUIDBySAMAccountName(
string sAMAccountName
)
Public Function GetGUIDBySAMAccountName (
sAMAccountName As String
) As Guid
public:
Guid GetGUIDBySAMAccountName(
String^ sAMAccountName
)
member GetGUIDBySAMAccountName :
sAMAccountName : string -> Guid
Parameters
- sAMAccountName
- Type: SystemString
The SAM account name 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