CanRead(IChangeSet, IUser):Boolean

Checks whether the indicated user may, in the indicated ChangeSet, read the current data object.

This method checks the permission for a user in a ChangeSet for the current data object. It is of no importance for the currently executing user what context he is in at this time. The executing user can be in the Productive Environment as well as in a ChangeSet.

Return type: System.Boolean

Parameter

context

Type: Onion.Client.IChangeSet

This parameter indicates the ChangeSet for which the permission "reading of the current data object" is to be checked.

user

Type: Onion.Client.IUser

This parameter indicates the user for whom the permission is to be checked.