Commit
Commits any changes or updates to the Right 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 command right name or command pattern is
null
, empty, or invalid. -
The command name is
null
or empty. -
The command path is
null
or empty. -
The method cannot find the command right or 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.