See also Authenticating in Workgroups Portal
The following code snippet demonstrates how to create Workgroups Portal authentication ticket using XML service endpoint from .NET.
This example uses http://example.com/workgroups/database/~ws/metacomm/auth in place of the actual URL.
The code use Basic Authentication to get access to the service.