Directory Services

Primary Group ID

An integer value represents the primary group ID for this user.

Example Code [Visual Basic]

Set usr = GetObject("WinNT://Fabrikam/JeffSmith")
Debug.Print usr.Get("PrimaryGroupID")