Commit
Commits any changes or updates to the Role object and saves the changes to Active Directory.
Syntax
void Commit()
Discussion
The method does not validate the data before saving it in Active Directory.
Exceptions
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.