AddUserToRecordTeamRequest AddUserToRecordTeamRequest AddUserToRecordTeamRequest AddUserToRecordTeamRequest Class


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.

public ref class AddUserToRecordTeamRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
public sealed class AddUserToRecordTeamRequest : Microsoft.Xrm.Sdk.OrganizationRequest
type AddUserToRecordTeamRequest = class
    inherit OrganizationRequest
Public NotInheritable Class AddUserToRecordTeamRequest
Inherits OrganizationRequest


Message Availability

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


Pass an instance of this class to the Execute(OrganizationRequest) 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 Record property. The caller must also have privileges on the SystemUser entity and the TeamTemplate entity and access rights on the records specified in the SystemUserId property and the TeamTemplateId property. In addition, the caller must have access rights on the record specified in the Record 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 Record property. For a complete list of required privileges, see AddUserToRecordTeam message privileges.


AddUserToRecordTeamRequest() AddUserToRecordTeamRequest() AddUserToRecordTeamRequest() AddUserToRecordTeamRequest()

Initializes a new instance of the AddUserToRecordTeamRequest class.


ExtensionData ExtensionData ExtensionData ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String] Item[String] Item[String] Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters Parameters Parameters Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
Record Record Record Record

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

RequestId RequestId RequestId RequestId

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

(Inherited from OrganizationRequest)
RequestName RequestName RequestName RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
SystemUserId SystemUserId SystemUserId SystemUserId

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

TeamTemplateId TeamTemplateId TeamTemplateId TeamTemplateId

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

Applies to

See also