ExternalDataEventArgs.Identity 属性

定义

获取或设置引发事件的用户的标识。Gets or sets the identity of the user that raised the event.

public:
 property System::String ^ Identity { System::String ^ get(); void set(System::String ^ value); };
public string Identity { get; set; }
member this.Identity : string with get, set
Public Property Identity As String

属性值

String

引发事件的用户的标识。The identity of the user that is raising the event.

注解

此属性由 HandleExternalEventActivity 活动进行计算。This property is evaluated by the HandleExternalEventActivity activity. 如果在此活动的 Roles 属性中设置的值与用户标识关联的任何角色都不匹配,则不允许执行此活动。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.

适用于