set the user lastadminstatuscheck flag to the value specified concode_field_sep Guid BOTTOM_OBJECT_ID concode_elem_sep Guid EVERYONE_OBJECT_ID concode_elem_sep Log log concode_elem_sep Guid SYSTEM_OBJECT_ID concode_field_sep boolean isLastSuperUserPermission concode_elem_sep boolean isMultilevelAdministrationOn concode_elem_sep void addPermission concode_elem_sep RoleDAO getRoleDAO concode_elem_sep PermissionDAO getPermissionDAO concode_elem_sep boolean isAdminUser concode_elem_sep DbUserDAO getDbUserDAO concode_elem_sep boolean isLastSuperUserGroup
void function ( Guid arg0 , boolean arg1 ) { DbUser loc0 = getDbUserDAO ( ) . get ( arg0 ) ; if ( loc0 . isAdmin ( ) != arg1 ) { loc0 . setAdmin ( arg1 ) ; getDbUserDAO ( ) . update ( loc0 ) ; } }