November Happy Hour will be moved to Thursday December 5th.

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
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.Approvals
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public class ApprovalQuery

Constructors

ApprovalQuery()

Declaration
public ApprovalQuery()

Properties

DefinitionID

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

Declaration
public 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 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 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 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