| | |
| | | $('#rollen').click(um_role_list_click); |
| | | $('#nutzerrollen').click(um_user_role_list_click); |
| | | $('#userMenu').text('?'); |
| | | $('#logout').click(logout); |
| | | $('#logout').click(um_apicall_logout); |
| | | um_clear_user_form(); |
| | | um_apicall_get_user_list(); |
| | | um_apicall_get_granted_roles(); |
| | |
| | | um_apicall_del_user(self.serialisieren(user)); |
| | | } |
| | | } |
| | | } |
| | | |
| | | function logout() { |
| | | um_apicall_logout(); |
| | | } |
| | | |
| | | /* ----------- role functions ------------ */ |
| | |
| | | var userId = $('#anmeldename').val(); |
| | | var kw = $('#kennwort').val(); |
| | | var firstName = $('#vorname').val(); |
| | | var lastName = $('#nachname'); |
| | | var lastName = $('#nachname').val(); |
| | | var user = new User(userId, kw, firstName, lastName, '-'); |
| | | return user; |
| | | } |