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. However, the common name must be a
valid Live Communications Server 2005 server, must have been
previously added to the resource pool, and must also have available
capacity for the user.
Specifies the algorithm used when selecting a Server Pool.
Valid values are "level" or "tightPack." The "tightPack" value
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 "level" value attempts to evenly
distribute users across the server pools by selecting the pool with
the most amount of available space.
Typical usage for the EnableUser method is as follows:
//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.EnableUser(path,preferredDomainController, planName, algorithm, sendCredentials);
// set the response XML to match the return from MPF
this.mpsResponse.Document = responseXml;
lblDone.InnerText = successMsg;