Click or drag to resize

UserQuery Class

Saved database query that is owned by a user.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceUserQuery

Namespace: Crm.MSCrmService
Assembly: Scripting (in Scripting.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class UserQuery : Entity, INotifyPropertyChanging, 
	INotifyPropertyChanged

The UserQuery type exposes the following members.

Constructors
 NameDescription
Public methodUserQuery Default Constructor.
Top
Properties
 NameDescription
Public propertyAdvancedGroupBy Type the column name that will be used to group the results from the data collected across multiple records from a user view.
Public propertyAttributes
(Inherited from Entity)
Public propertybusiness_unit_userquery N:1 business_unit_userquery
Public propertyColumnSetXml Shows the columns and sorting criteria for the saved view, stored in XML format.
Public propertyConditionalFormatting Type information about how the items in the user view are formatted.
Public propertyCreatedBy Shows who created the record.
Public propertyCreatedOn Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyCreatedOnBehalfBy Shows who created the record on behalf of another user.
Public propertyDescription Type additional information to describe the saved view, such as the filter criteria or intended results set.
Public propertyEntityState
(Inherited from Entity)
Public propertyExtensionData
(Inherited from Entity)
Public propertyFetchXml Contains the Fetch XML query that defines the entities and attributes included in the saved view.
Public propertyFormattedValues
(Inherited from Entity)
Public propertyHasLazyFileAttribute
(Inherited from Entity)
Public propertyId
(Overrides Entity.Id)
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyLayoutXml For internal use only.
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertylk_userquery_createdby N:1 lk_userquery_createdby
Public propertylk_userquery_createdonbehalfby N:1 lk_userquery_createdonbehalfby
Public propertylk_userquery_modifiedby N:1 lk_userquery_modifiedby
Public propertylk_userquery_modifiedonbehalfby N:1 lk_userquery_modifiedonbehalfby
Public propertyLogicalName
(Inherited from Entity)
Public propertyModifiedBy Shows who last updated the record.
Public propertyModifiedOn Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyModifiedOnBehalfBy Shows who last updated the record on behalf of another user.
Public propertyName Type a descriptive name for the saved view.
Public propertyOwnerId Enter the user or team who is assigned to manage the record. This field is updated every time the record is assigned to a different user.
Public propertyOwningBusinessUnit Shows the business unit that the record owner belongs to.
Public propertyOwningTeam Unique identifier of the team who owns this saved view.
Public propertyOwningUser Unique identifier of the user who owns this saved view.
Public propertyParentQueryId Choose the ID of the saved query that the record was created from.
Public propertyQueryType Shows the code for the query type to indicate whether the saved view is an address book filter, advanced search, or other view.
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyReturnedTypeCode Type of entity that the saved view displays.
Public propertyRowVersion
(Inherited from Entity)
Public propertyStateCode Shows whether the saved view is active or inactive.
Public propertyStatusCode Select the item's status.
Public propertyteam_userquery N:1 team_userquery
Public propertyuser_userquery N:1 user_userquery
Public propertyuserentityinstancedata_userquery 1:N userentityinstancedata_userquery
Public propertyUserQuery_AsyncOperations 1:N UserQuery_AsyncOperations
Public propertyUserQuery_BulkDeleteFailures 1:N UserQuery_BulkDeleteFailures
Public propertyUserQuery_SyncErrors 1:N UserQuery_SyncErrors
Public propertyUserQueryId Unique identifier of the saved view.
Public propertyVersionNumber Version number of the saved view.
Top
Methods
 NameDescription
Public methodContains
(Inherited from Entity)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAttributeValue``1
(Inherited from Entity)
Protected methodGetFormattedAttributeValue
(Inherited from Entity)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetRelatedEntities``1
(Inherited from Entity)
Protected methodGetRelatedEntity``1
(Inherited from Entity)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodSetAttributeValue
(Inherited from Entity)
Protected methodSetRelatedEntities``1
(Inherited from Entity)
Protected methodSetRelatedEntity``1
(Inherited from Entity)
Public methodToEntity``1
(Inherited from Entity)
Public methodToEntityReference
(Inherited from Entity)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetAttributeValue``1
(Inherited from Entity)
Top
Events
Fields
See Also