ActiveDirectoryRole.GetDirectReports Method

Definition

Returns an ActiveDirectoryRole that contains all the roles that report directly to the current role.

public:
 System::Workflow::Activities::ActiveDirectoryRole ^ GetDirectReports();
public System.Workflow.Activities.ActiveDirectoryRole GetDirectReports ();
member this.GetDirectReports : unit -> System.Workflow.Activities.ActiveDirectoryRole
Public Function GetDirectReports () As ActiveDirectoryRole

Returns

An ActiveDirectoryRole that contains all the roles that directly report to the current role.

Remarks

GetDirectReports returns only the nodes that are directly below the current node. To return all nodes below the current node use GetAllReports.

Applies to