Jaa


AddUserToRecordTeamRequest Class

Definition

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

public ref class AddUserToRecordTeamRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class AddUserToRecordTeamRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type AddUserToRecordTeamRequest = class
    inherit OrganizationRequest
Public NotInheritable Class AddUserToRecordTeamRequest
Inherits OrganizationRequest
Inheritance
AddUserToRecordTeamRequest
Attributes

Remarks

Learn to use access teams and owner teams to collaborate and share information

For the Web API use the AddUserToRecordTeam action.

Usage

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 table specified in the Record property. The caller must also have privileges on the SystemUser table and the TeamTemplate table 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.

Constructors

AddUserToRecordTeamRequest()

Initializes a new instance of the AddUserToRecordTeamRequest class.

Properties

ExtensionData

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

(Inherited from OrganizationRequest)
Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters

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

(Inherited from OrganizationRequest)
Record

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

RequestId

Gets or sets the ID of the request. Optional.

(Inherited from OrganizationRequest)
RequestName

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

(Inherited from OrganizationRequest)
SystemUserId

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

TeamTemplateId

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

Applies to

See also