Del via


WhoAmIResponse Class

Definition

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

WhoAmIResponse()

Initializes a new instance of the WhoAmIResponse class.

Properties

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