AccessPermissionException(Int32, Int32, ChangeSetRightFlags)

Initialises a new instance of the AceessPermissionException class with an error message.

The error message is predefined and contains the parameters given in the constructor. The error message reads: "User userIdentity does not have the required permission requiredPermission for change set changeSetIdentity".

Parameter

userIdentity

Type: System.Int32

The parameter indicates the Id of the onion.net user for whom this exception applies. The existence of the Id is not checked.

changeSetIdentity

Type: System.Int32

The Id of the Enterprise ChangeSet it was attempted to access. The existence of the Id is not checked.

requiredPermission

Type: ChangeSetRightFlags

Indicates the permissions needed by the indicated user to successfully execute the attempted procedure.