Click or drag to resize
Galactic API

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
)

Parameters

sAMAccountName
Type: SystemString
The SAM account name 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