RetrieveUserIdByExternalIdRequest Class

Definition

Contains the data that is needed to retrieve the Microsoft Dynamics 365 or Dataverse system user ID that is associated with a given identity provider ID.

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

Remarks

Usage

Pass an instance of this class to the Execute(DiscoveryRequest) method.

Privileges and Access Rights

To perform this action, the caller must have a system user account in Microsoft Dynamics 365.

Constructors

RetrieveUserIdByExternalIdRequest()

Initializes a new instance of the RetrieveUserIdByExternalIdRequest class.

Properties

ExtensionData

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

(Inherited from DiscoveryRequest)
ExternalId

Gets or sets the ID of the target user.

OrganizationId

Gets or sets the ID of the organization that the target system user is a member of.

OrganizationName

Gets or sets the unique name of the organization that the target system user is a member of.

Release

Gets or sets the release version of the Microsoft Dynamics 365 product.

Applies to

See also