Export (0) Print
Expand All

Owner Class (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Represents an attribute that refers to the owner of an entity.

The Owner class inherits from CrmReference. It exposes the following members.

ConstructorDescription
OwnerInitializes a new instance of the Owner class.

Example

The following sample shows how to set an attribute of type Owner.

Owner owner = new Owner();
owner.type = EntityName.systemuser.ToString();
owner.Value = user.UserId;

Requirements

Namespace: CrmService

See Also

Concepts

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2015 Microsoft