AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IAdminPage.ValidatePage Method

Validates the current page and throws a

    ValidationException

to report an error.
void ValidatePage(
NamedValueMap pageInfo
);

#### Parameters

pageInfo
  The `NamedValueMap` of page contents. If this is from an existing set of pages (IAdminEditor has previously called Finalize()), then the names in the

      NamedValueMap

  will be uppercased.

#### Remarks

Used to provide validation that cannot be accomplished using regular expressions, for example, validating a user name and password for a database. The error code in a thrown

    ValidationException

is used as the`errorCode` used in `GetContent` for each error condition.

#### See Also

IAdminPage Interface | Plumtree.Remote.Sci Namespace