WhoAmI Function

Retrieves the system user ID for the currently logged on user or the user under whose context the code is running.

This Web API function corresponds to the organization service WhoAmIRequest.

WhoAmI function is not bound to any entity types.

WhoAmI function does not require any parameters.

Return Type

The WhoAmI function returns the following value.

Type Nullable Description

WhoAmIResponse ComplexType

false

Contains the response from the WhoAmI function.

另请参阅

其他资源

Web API EntityType Reference
Web API Action Reference
Web API Query Function Reference
Web API EnumType Reference
Web API ComplexType Reference
Web API Metadata EntityType Reference

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.