Class ApproverItem

Represents an approver in an approval workflow

Inheritance
System.Object
ApproverItem
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.WorkflowFoundation.Workflows
Assembly: EPiServer.WorkflowFoundation.dll
Version: 8.11.0
Syntax
public class ApproverItem

Constructors

ApproverItem(String, Boolean, Boolean)

Initializes a new instance of the ApproverItem class.

Declaration
public ApproverItem(string approver, bool isRole, bool isRequired)
Parameters
Type Name Description
System.String approver

The approver.

System.Boolean isRole

if set to true [is role].

System.Boolean isRequired

if set to true [is required].

Properties

Approver

The name of the approver

Declaration
public string Approver { get; }
Property Value
Type Description
System.String

IsRequired

Gets or sets a value indicating whether this approver is required in the approval.

Declaration
public bool IsRequired { get; set; }
Property Value
Type Description
System.Boolean

true if the approver is required; otherwise, false.

Remarks

Only meaningful in parallel approval

IsRole

Indicates if the approver is a user or role/group

Declaration
public bool IsRole { get; }
Property Value
Type Description
System.Boolean