This documentation is archived and is not being maintained.

Owner Class (CrmService)

Forefront
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: