1 Reply Latest reply on Nov 3, 2006 8:38 AM by Thomas Heute

    Problem while deleting the user

    Rashmi Setty Newbie

      We are using Jboss Portal 2.4 GA
      I am trying to delete the user in jboss portal programatically using the service
      in the following code

      String userID="aaa"
      userModule.removeUser((Serializable)userID);


      there is a user with username aaa. But I am getting exception as
      java.lang.IllegalArgumentException: The id is not an long : aaa
      at org.jboss.portal.identity.db.UserModuleImpl.removeUser(UserModuleImpl.java:253)


      How should i pass the username to removeUser function so that it delets the user.
      please help
      Thanks in advance