Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ExecuteByIdUserQueryRequest Class (CrmService)
Collapse the table of content
Expand the table of content

ExecuteByIdUserQueryRequest Class (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Contains the data needed to execute a user query (saved view) that has the specified ID.

The ExecuteByIdUserQueryRequest class inherits from Request. It exposes the following members.

ExecuteByIdUserQueryRequestInitializes a new instance of the ExecuteByIdUserQueryRequest class.

Instance PropertyDescription
EntityIdGets or sets the ID of the user query (saved view) instance to be executed.


Pass an instance of this class as the request parameter in the Execute method.

This message returns a String type that specifies the XML data containing the results of the query. This XML string is in the following format:

<resultset> + <result>result1</result><result>result2</result> + ... + </resultset> 

The XML string returned from this method may contain multiple entity instances. If no instances are returned, the method returns an XML document for the entity type, with no data.

The XML string returned from this method does not contain elements for attributes where the value is null or contains empty strings. This improves performance by not sending more XML data than is necessary from the server to the client.


For an example of how to use this class, see the ExecuteByIdUserQuery message.


Web Service: CrmService

See Also


© 2010 Microsoft Corporation. All rights reserved.

© 2015 Microsoft