Share via


Hosted Live Communications::EnableOrganizationUsers

The EnableOrganizationUsers procedure enables all user objects in an organization for Live Communications Server 2005.

Arguments

Input argument Required Description

<path>

Yes

The Lightweight Directory Access Protocol (LDAP) path of the organization.

<preferredDomainController>

Yes

The name of the preferred domain controller.

<planName>

Yes

A valid plan name to assign to the organization users.

<serverPool>/<name>

No

The common name of the user's Live Communications Server 2005 home server pool.

Typically not provided because the Live Communications Server 2005 Resource Manager will automatically select a home server pool from the resource manager pool. If provided, the specified server pool will be used. However, the common name must be a valid Live Communications Server 2005 server, it must have been previously added to the resource pool, and must also have available capacity for the user.

<algorithm>

No

Specifies the algorithm used when selecting a Server Pool.

Valid values are "level" or "tightPack." The default is "tightPack" if unspecified. 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.

Remarks

Process Steps

The following processes occur to enable organization users with the EnableOrganizationUsers procedure:

  1. Call EnableUser for each user within the organization.

  2. Call Managed Live Communications::EnableOrganizationUsers.

Security

The EnableOrganizationUsers procedure has the following security requirements:

  • The caller is impersonated.

Sample Code

Example XML Request

The following is an example of an XML request for the EnableOrganizationUsers procedure of the Hosted Live Communication Namespace

<request> 
        <procedure> 
        <execute namespace="Hosted Live Communications"  
         procedure="EnableOrganizationUsers" impersonate="1"> 
                        <executeData> 
                        <path>LDAP://OU=alpineskihouse,OU=consolidatedmessenger, 
                         OU=Hosting,DC=FAbrikam,DC=Com</path> 
        <preferredDomainController>AD01.fabrikam.com 
                        </preferredDomainController> 
                        <planName>LCSBasic</planName> 
        </executeData> 
                        <after source="executeData" destination="data" mode="merge"/> 
                </execute> 
        </procedure> 
</request> 

Example XML Response

No example XML response.

Applies To

Hosted Live Communications Namespace API for:

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0

See also

Tasks

Hosted Live Communications::DisableOrganizationUsers