hi shivani,
what's the primary key class for the entity bean,
is UserInfo a entity bean? if it's entity bean then u cannot directly return as a enumeration list! instead u should return enumeration containing the primary key class. if the primary key class is not defined then pass the enumeration of the primary key
in this case it should be userid(
String),
u should add userid to the vector. and then return it's enumeration.
Hope ur probs is solved
best of luck
------------------
Praveen Kumar Mathaley