Appoint a role to a user for a specific event. More...


Public Member Functions | |
| AddRoleToUserRequest (int eventID, String userEmail, UserRole role) | |
| Create the request. More... | |
| int | getEventID () |
| String | getUserEmail () |
| UserRole | getRole () |
Additional Inherited Members | |
Static Public Member Functions inherited from unicopa.copa.base.com.request.AbstractRequest | |
| static UserRole | getRequiredPermissionLevel () |
| static AbstractRequest | deserialize (String json) throws APIException |
Static Protected Attributes inherited from unicopa.copa.base.com.request.AbstractRequest | |
| static UserRole | requiredPermissionLevel = UserRole.ADMINISTRATOR |
Appoint a role to a user for a specific event.
Deputies can appoint rightholders, owners can appoint rightholders and deputies.
| unicopa.copa.base.com.request.AddRoleToUserRequest.AddRoleToUserRequest | ( | int | eventID, |
| String | userEmail, | ||
| UserRole | role | ||
| ) |
Create the request.
| eventID | the ID of the event where a user should get a role |
| userEmail | the email of the user who should get the role |
| role | the role to give to the user |
1.8.4