Validate

Validates the data in the role assignment object before any changes are committed to Active Directory.

Syntax

void Validate()

Exceptions

Validate throws an ApplicationException if:

  • the role assignment already exists
  • the role is null
  • the method cannot find the role assignment or the role
  • the method cannot find authorization data for the zone,
  • the start time is later than the end time

If the Validate method fails, see the message returned by the exception for more specific information about the reason for the failure.