A valid plan name to assign to the organization users.
The common name of the user's Live Communications Server 2005
home server pool.
This parameter is typically not provided because the Live
Communications Server 2005 Resource Manager will automatically
select a home server pool from resource manager pool. If provided,
this server pool will be used. Note, however, that the common name
must be a valid Live Communications Server 2005 server, must have
been previously added to the resource pool, and must have available
capacity for the user.
Specifies the algorithm used when selecting a Server Pool.
Valid values are "level" or "tightPack." The value "tightPack"
attempts to use the smallest number of server pools for the system
as a whole by adding a user to the server pool with the least
amount of available space. The value "level" attempts to evenly
distribute users across the server pools by selecting the pool with
the most amount of available space.
Typical usage for the EnableOrganizationUsers method is as
//Get user name and password.
string userName = this.Request.ServerVariables.Get("AUTH_USER");
string pass = this.Request.ServerVariables.Get("AUTH_PASSWORD");
LiveCommunication.PreAuthenticate = true;
LiveCommunication.Credentials = new NetworkCredential(userName,pass);
lblMsg.InnerHtml = mpsResponseHeaderLabel;
this.mpsResponse.DocumentSource = "";
response = LiveCommunication.EnableOrganizationUsers(path, preferredDomainController, planName, serverPool, algorithm, sendCredentials);
// set the response XML to match the return from MPF
this.mpsResponse.Document = responseXml;