Mage2\User\Controllers\Admin\AdminUserController::edit PHP Method

edit() public method

Show the form for editing the specified resource.
public edit ( integer $id ) : Illuminate\Http\Response
$id integer
return Illuminate\Http\Response
    public function edit($id)
    {
        $user = AdminUser::findorfail($id);
        $roles = $this->_getRoleOptions();
        return view('admin.user.admin-user.edit')->with('user', $user)->with('roles', $roles)->with('editMethod', true);
    }