Udostępnij za pośrednictwem


WhoAmI Function

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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.

See Also

Use Web API functions
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 365

© 2016 Microsoft. All rights reserved. Copyright