WhoAmIResponse Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Contains the response from the WhoAmIRequest class.
For the Web API the WhoAmIResponse ComplexType is the response value from the WhoAmI Function.
Namespace: Microsoft.Crm.Sdk.Messages
Assembly: Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.OrganizationResponse
Microsoft.Crm.Sdk.Messages.WhoAmIResponse
Syntax
[DataContractAttribute(Namespace = "https://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class WhoAmIResponse : OrganizationResponse
<DataContractAttribute(Namespace := "https://schemas.microsoft.com/crm/2011/Contracts")>
Public NotInheritable Class WhoAmIResponse
Inherits OrganizationResponse
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. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
WhoAmIRequest
Microsoft.Crm.Sdk.Messages Namespace
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright