DirectX SDK
DirectPlaySessionData.GetUser1
See
DirectPlaySessionData.GetUser(n)
.