ExternalDataEventArgs.Identity Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the identity of the user that raised the event.

Namespace:   System.Workflow.Activities
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

public string Identity { get; set; }

Property Value

Type: System.String

The identity of the user that is raising the event.

This property is evaluated by the HandleExternalEventActivity activity. If the value that is set in the Roles property of this activity does not match any of the roles associated with the user identity, the activity is not allowed to execute.

The entity that raises the event can be a person or a computer.

Identity is used by the Roles functionality to ensure that this identity is allowed to submit data to this workflow.

.NET Framework
Available since 3.0
Return to top