AddUserToRecordTeamRequest Class

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Contains the data that is needed to add a user to the auto created access team for the specified record.

For the Web API use the AddUserToRecordTeam Action.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

SystemObject
  Microsoft.Xrm.SdkOrganizationRequest
    Microsoft.Crm.Sdk.MessagesAddUserToRecordTeamRequest

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubmethodAddUserToRecordTeamRequest

Initializes a new instance of the AddUserToRecordTeamRequest class.

NameDescription
System_CAPS_pubproperty

Gets or sets the structure that contains extra data. Optional.(Inherited from OrganizationRequest.)

System_CAPS_pubproperty

Gets or sets the indexer for the Parameters collection.(Inherited from OrganizationRequest.)

System_CAPS_pubproperty

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.(Inherited from OrganizationRequest.)

System_CAPS_pubproperty

Gets or sets the record for which the access team is auto created. Required.

System_CAPS_pubproperty

Gets or sets the ID of an asynchronous operation (system job). Optional. (Inherited from OrganizationRequest.)

System_CAPS_pubproperty

Gets or sets the name of the request. Required, but is supplied by derived classes.(Inherited from OrganizationRequest.)

System_CAPS_pubproperty

Gets or sets the ID of system user (user) to add to the auto created access team. Required.

System_CAPS_pubproperty

Gets or sets the ID of team template which is used to create the access team. Required.

NameDescription
System_CAPS_pubmethodEquals

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode

(Inherited from Object.)

System_CAPS_pubmethodGetType

(Inherited from Object.)

System_CAPS_pubmethodToString

(Inherited from Object.)

Message Availability

For this message to work, the caller must be connected to the server.

Usage

Pass an instance of this class to theExecute method, which returns an instance of the AddUserToRecordTeamResponse class.

Privileges and Access Rights

To perform this action, the caller must have the Share privilege on the entity specified in the property. The caller must also have privileges on the SystemUser entity and the TeamTemplate entity and access rights on the records specified in the property and the property. In addition, the caller must have access rights on the record specified in the property that match access rights specified in the team template. For example, if the team template specifies the Read access right on the account entity, the caller must have the Read access right on the account record, specified in the property. For a complete list of required privileges, see AddUserToRecordTeam message privileges.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: