Share via


UpdateResourceActivity.ActorId Property

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

'Usage
Dim instance As UpdateResourceActivity
Dim value As Guid

value = instance.ActorId

instance.ActorId = value

Syntax

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

/** @property */
public void set_ActorId (Guid value)
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.

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

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

Change History

See Also

Reference

UpdateResourceActivity Class
UpdateResourceActivity Members
Microsoft.ResourceManagement.Workflow.Activities Namespace
UpdateResourceActivity

Other Resources

Management Policy in FIM