CanList(IChangeSet, IUser):Boolean
Checks whether the indicated user may, in the indicated ChangeSet, list the data objects underneath 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.
The listing of a data object makes it possible for a user to see a data object, although not its content however. This permission is useful in cases where the data object is referenced in another data object. It means the user can see which data object is concerned, although he cannot access the content of the data object. If it is to be possible for the user to view this data object also, then the user must have the permission "reading" for this object.
Parameter
- context
Type: Onion.Client.IChangeSet
This parameter indicates the ChangeSet for which the permission "listing of a data object underneath 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.