| Input Parameters | Significance |
| char *nam | name of the new group [0 = selection menu] |
| Output Parameters | Significance |
| none | - |
| Return Code | Significance |
| 0 | all ok |
| 1 | no group assigned |
| 2 | no group selected |
On_Select userexit in each menu/button-area or On_Event userexit in each state of the user interface.
If you specify a group, DataView will assign this group to the current user. If you do not specify a group, the userexit creates a selection menu with all groups the current user is assigned to in the application. In the menu he can select the group he wants to change to.