@ Override public int getPortalUID ( IPerson person , boolean createPortalData ) throws AuthorizationException { int uid ; String username = ( String ) person . getAttribute ( IPerson . USERNAME ) ; // only synchronize a non-guest request. if ( PersonFactory . getGuestUsernames ( ) . contains ( username ) ) { uid = __getPortalUID ( person , createPortalData ) ; } else { synchronized ( getLock ( person ) ) { uid = __getPortalUID ( person , createPortalData ) ; } } return uid ; }
Get the portal user ID for this person object .