IWorkflowContext.UserId Property

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Gets the ID of the system user account under which the current workflow is executing.


[Visual Basic .NET]
OverridablePublic ReadOnly Property UserId As Guid

public virtual Guid UserId {get;}

Property Value

The value of this property is a Guid type.


The UserId property corresponds to the systemuser.systemuserid property, which is the primary key for the systemuser entity.


Namespace: Microsoft.Crm.Workflow

Assembly: Microsoft.Crm.Sdk.dll

See Also


© 2010 Microsoft Corporation. All rights reserved.