Gets and sets the ActorId value. ActorId is a Guid value that represents the ObjectID of the resource that is used to calculate management policy rules that affect a request that is created by the activity. Activities can perform only the operations for which the ActorId has been granted rights.
Namespace: Microsoft.ResourceManagement.Workflow.Activities
Assembly: Microsoft.ResourceManagement (in microsoft.resourcemanagement.dll)

Usage

Visual Basic
Dim instance As UpdateResourceActivity
Dim value As Guid

value = instance.ActorId

instance.ActorId = value

Syntax

Visual Basic
<BrowsableAttribute(True)> _
<CategoryAttribute("Parameters")> _
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> _
Public Property ActorId As Guid
C#
[BrowsableAttribute(true)] 
[CategoryAttribute("Parameters")] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)] 
public Guid ActorId { get; set; }
C++
[BrowsableAttribute(true)] 
[CategoryAttribute(L"Parameters")] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Visible)] 
public:
property Guid ActorId {
		Guid get ();
		void set (Guid value);
}
J#
/** @property */
public Guid get_ActorId ()

/** @property */
public void set_ActorId (Guid value)
JScript
public function get ActorId () : Guid

public function set ActorId (value : Guid)

Property Value

A Guid value that represents the ObjectID of a resource. For more information, see Resource Object.

Example

The following example sets the ActorId property.

C#  Copy Code
this.updateResourceActivity1.ActorId = new System.Guid("11111111-1234-1234-1234-123456789012");

Remarks

The ActorId will default to the Creator property of the parent Request if no specific value is set.

ActorId can reference any resource in the FIM Service database and not just Person resources. For example, you can use the Forefront Identity Manager (FIM) Service Account resource as the ActorId.

If the FIM Service Account is used as the ActorId, the activity will be permitted to perform any operation in the FIM Service database and no management policy rules are required to permit the activity to create, update, delete or read resources. The ObjectID of the FIM Service Account is e05d1f1b-3d5e-4014-baa6-94dee7d68c89.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

Windows 2008 x64 Edition

Change History

See Also