SaaS CMS has officially launched! Learn more now.

Class ApprovalQuery

NOTE: This is a pre-release API that is UNSTABLE and might not satisfy the compatibility requirements as denoted by its associated normal version. Class used for querying

Inheritance
System.Object
ApprovalQuery
Namespace: EPiServer.Approvals
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public class ApprovalQuery : Object

Constructors

ApprovalQuery()

Declaration
public ApprovalQuery()

Properties

DefinitionID

Identifier of an approval definition to filter on. Null for no filter.

Declaration
public Nullable<int> DefinitionID { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

DefinitionVersionID

Identifier of an approval definition version to filter on. Null for no filter.

Declaration
public Nullable<int> DefinitionVersionID { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Language

Filter result on language. Null for no filter.

Declaration
public CultureInfo Language { get; set; }
Property Value
Type Description
System.Globalization.CultureInfo

OnlyActiveSteps

Option to limit results to where user is in the active step, defaults to false

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

Reference

Filter result on approval reference. Null for no filter.

Declaration
public Uri Reference { get; set; }
Property Value
Type Description
System.Uri

StartedBy

Filter result where a specific user has started an approval. Null for no filter.

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

Status

Filter result on approval status. Null for no filter.

Declaration
public Nullable<ApprovalStatus> Status { get; set; }
Property Value
Type Description
System.Nullable<ApprovalStatus>

UserDecision

Filter result on decisions made by a user. Null for no filter.

Declaration
public Nullable<ApprovalQueryUserDecision> UserDecision { get; set; }
Property Value
Type Description
System.Nullable<ApprovalQueryUserDecision>

Username

Filter result where a specific user is part of the definition. Null for no filter.

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

Extension Methods