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.

Syntax

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

[C#]
public virtual Guid UserId {get;}

Property Value

The value of this property is a Guid type.

Remarks

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

Requirements

Namespace: Microsoft.Crm.Workflow

Assembly: Microsoft.Crm.Sdk.dll

See Also

Reference

© 2010 Microsoft Corporation. All rights reserved.