AddPrincipalToQueueRequest Class

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Contains the data to add the specified principal to the list of queue members. If the principal is a team, add each team member to the queue.

Namespace: Microsoft.Crm.Sdk.Messages
Assembly: Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

'Declaration
<DataContractAttribute(Namespace:="http://schemas.microsoft.com/crm/2011/Contracts")> _
Public NotInheritable Class AddPrincipalToQueueRequest
    Inherits OrganizationRequest
[DataContractAttribute(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")] 
public sealed class AddPrincipalToQueueRequest : OrganizationRequest

Remarks

Message Availability

Note

This message was added with CRM 2013 Service Pack 1 (on-premises) and CRM Online Spring ‘14. This message can only be used in an upgraded organization when enhanced service capabilities are enabled by installing product updates. More information:Detect enhanced service capabilities available with product updates

This message works regardless whether the caller is connected to the server or offline.

Usage

Pass an instance of this class to the Execute method, which returns an instance of the AddPrincipalToQueueResponse class.

Privileges and Access Rights

To perform this action, the caller must have privileges on the Queue entity and access rights on the specified record in the QueueId property. For a complete list of the required privileges, see AddPrincipalToQueue message privileges.

Inheritance Hierarchy

System.Object
   Microsoft.Xrm.Sdk.OrganizationRequest
    Microsoft.Crm.Sdk.Messages.AddPrincipalToQueueRequest

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions),

Change History

See Also

Reference

AddPrincipalToQueueRequest Members
Microsoft.Crm.Sdk.Messages Namespace

Other Resources

Detect enhanced service capabilities available with product updates

Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.