Partager via


GeneralExtensions.GetMyUserId(ServiceClient) Method

Definition

Returns the user ID of the currently logged in user.

public static Guid GetMyUserId (this Microsoft.PowerPlatform.Dataverse.Client.ServiceClient serviceClient);
static member GetMyUserId : Microsoft.PowerPlatform.Dataverse.Client.ServiceClient -> Guid
<Extension()>
Public Function GetMyUserId (serviceClient As ServiceClient) As Guid

Parameters

serviceClient
ServiceClient

ServiceClient

Returns

Applies to