public void setForcedUser ( int contextId , User user ) { if ( user != null ) this . contextForcedUsersMap . put ( contextId , user ) ; else this . contextForcedUsersMap . remove ( contextId ) ; this . updateForcedUserModeToggleButtonState ( ) ; }
Sets the forced user for a context .