RemoveUserFromRecordTeamRequest Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the data that is needed to remove a user from the auto created access team for the specified record.
public ref class RemoveUserFromRecordTeamRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class RemoveUserFromRecordTeamRequest : Microsoft.Xrm.Sdk.OrganizationRequest
[<System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")>]
type RemoveUserFromRecordTeamRequest = class
inherit OrganizationRequest
Public NotInheritable Class RemoveUserFromRecordTeamRequest
Inherits OrganizationRequest
- Inheritance
- Attributes
Remarks
Learn to use access teams and owner teams to collaborate and share information
For the Web API use the RemoveUserFromRecordTeam action.
Usage
Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance of the RemoveUserFromRecordTeamResponse 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 RemoveUserFromRecordTeam message privileges.
Constructors
RemoveUserFromRecordTeamRequest() |
Initializes a new instance of the RemoveUserFromRecordTeamRequest 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 |
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 remove from the auto created access team. Required. |
TeamTemplateId |
Gets or sets the ID of team template which is used to create the access team. Required. |