ExternalDataEventArgs::Identity Property

 

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:
property String^ Identity {
	String^ get();
	void set(String^ value);
}

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
Show: