Directory Services

Object SID

The user security identifier (SID) can be retrieved using the objectSID attribute. The objectSID is returned as a VARIANT array of the string.

Example Code [Visual Basic]

sid = usr.Get("objectSID")
For i = LBound(sid) To UBound(sid)
	Debug.Print sid(i)
Next