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: IEnumerable

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(int index)

Insert()

Inserts a question into the collection at the index specified.

void Insert(IAdmPasswordSelfServiceQuestion questionToInsert, int 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(int 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:
  • int
  • Access:
  • Read-only

Requirements

Minimum required version: 2011.3

See also