Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IAdminPage.ValidatePage Method

Validates the current page and throws a

    ValidationException

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

#### Parameters

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

      NamedValueMap

  will be uppercased.

#### Remarks

Used to provide validition that cannot be accomplished using regular expressions; e.g. validating a user name and password for a database. The errorCode in a thrown

    ValidationException

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

#### See Also

IAdminPage Interface | Plumtree.Remote.Sci Namespace