this method is used to create a new user . the collection of users is first checked for a duplicate name , and an exception will be thrown if a user of the same name already exists . concode_field_sep int INSERT concode_elem_sep int DELETE concode_elem_sep User uPublic concode_elem_sep HsqlArrayList uUser concode_elem_sep int SELECT concode_elem_sep int ALL concode_elem_sep int UPDATE concode_field_sep void dropUser concode_elem_sep int getRight concode_elem_sep String getRight concode_elem_sep void removeDbObject concode_elem_sep HsqlArrayList getUsers concode_elem_sep User getUser concode_elem_sep User get concode_elem_sep void revoke concode_elem_sep void grant
User function ( String arg0 , String arg1 , boolean arg2 ) { for ( int loc0 = 0 , loc1 = uUser . size ( ) ; loc0 < loc1 ; loc0 ++ ) { User loc2 = ( User ) uUser . get ( loc0 ) ; if ( ( loc2 != null ) && loc2 . getName ( ) . equals ( arg0 ) ) { throw Trace . error ( Trace . USER_ALREADY_EXISTS , arg0 ) ; } } User loc3 = new User ( arg0 , arg1 , arg2 , uPublic ) ; uUser . add ( loc3 ) ; return loc3 ; }