Freigeben über


CreateResourceActivity.ActorId Property

Gets and sets the ActorId value. ActorId is a Guid value that represents the ObjectID property 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 CreateResourceActivity
Dim value As Guid

value = instance.ActorId

instance.ActorId = value

Syntax

'Declaration
<CategoryAttribute("Parameters")> _
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)> _
<BrowsableAttribute(True)> _
Public Property ActorId As Guid
[CategoryAttribute("Parameters")] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)] 
[BrowsableAttribute(true)] 
public Guid ActorId { get; set; }
[CategoryAttribute(L"Parameters")] 
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Visible)] 
[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 (see Resource).

Example

The following example sets the ActorId value for the activity.

this.createResourceActivity1.ActorId = new System.Guid("12345678-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

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

Other Resources

Management Policy in FIM