Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

WhoAmIResponse Class

Definition

Namespace:
Microsoft.Crm.Sdk.Messages
Assembly:
Microsoft.Crm.Sdk.Proxy.dll
Package:
Microsoft.PowerPlatform.Dataverse.Client v1.2.10

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 response from the WhoAmIRequest class.

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

Constructors

Name Description
WhoAmIResponse()

Initializes a new instance of the WhoAmIResponse class.

Properties

Name Description
BusinessUnitId

Gets the ID of the business to which the logged on user belongs.

ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from OrganizationResponse)
Item[String]

Gets an indexer for the Results collection.

(Inherited from OrganizationResponse)
OrganizationId

Gets the ID of the organization that the user belongs to.

ResponseName

Gets or sets the name of the response.

(Inherited from OrganizationResponse)
Results

Gets the results of the request that was performed.

(Inherited from OrganizationResponse)
UserId

Gets the ID of the user who is logged on.

Applies to

See also