Skip to content

IAdmPasswordSelfServiceQuestionCollection

The IAdmPasswordSelfServiceQuestionCollection interface represents a collection of security questions for the Self-Password Reset process. Each question in the collection is represented by the IAdmPasswordSelfServiceQuestion interface.

Inheritance: The IAdmPasswordSelfServiceQuestionCollection interface inherits from the IEnumerable interface.

Methods

  • Method

  • Description

  • Add()

  • Adds a question to the collection.

  • Clear()

  • Removes all items from the collection.

  • GetItem()

  • Returns a question by its index.

  • Insert()

  • Inserts a question into the collection at the index specified.

  • Remove()

  • Removes the specified question from the collection.

  • RemoveAt()

  • Removes a question by its index.

  • LoadFromXml()

  • Loads questions from the specified XML document.

  • SaveToXml()

  • Returns a String that contains all items in the XML format.

  • GetEnumerator()

  • Retrieves an enumerator object for this collection of security questions.

Properties

  • Property

  • Description

  • Count

  • Gets the number of questions in the collection.

Details

Add()

Adds a question to the collection.

void Add(IAdmPasswordSelfServiceQuestion questionToAdd)

Clear()

Removes all items from the collection.

void Clear()

GetItem()

Returns a question by its index.

IAdmPasswordSelfServiceQuestion GetItem(Int32 index)

Insert()

Inserts a question into the collection at the index specified.

void Insert(IAdmPasswordSelfServiceQuestion questionToInsert, Int32 index)

Parameters

  • questionToInsert - Specifies the question to insert.
  • index - Specifies the index at which to insert the question.

Remove()

Removes the specified question from the collection.

void Remove(IAdmPasswordSelfServiceQuestion questionToRemove)

RemoveAt()

Removes a question by its index.

void RemoveAt(Int32 index)

LoadFromXml()

Loads questions from the specified XML document.

void LoadFromXml(String xmlDocument)

Parameters

The xmlDocument parameter contains the text of the XML document to load questions from.


SaveToXml()

Returns a String that contains all items in the XML format.

String SaveToXml()

GetEnumerator()

Retrieves an enumerator object for this collection of security questions. The enumerator object implements the IEnumerator interface that can be used to enumerate questions in foreach loops.

IEnumerator GetEnumerator()

Count

Gets the number of questions in the collection.

  • Type:
  • Int32
  • Access:
  • Read-only

Requirements

Minimum required version: 2011.3

See also