Commits any changes or updates to the Role object and saves the changes to Active Directory.


void Commit()


The method does not validate the data before saving it in Active Directory.


Commit throws an ApplicationException if:

  • the role name is null, empty, or invalid
  • the method cannot find the role or command right
  • the method cannot find authorization data for the zone

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