Owner Class (CrmService)
![]() |
[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.
Constructor | Description |
Owner | Initializes 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