Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ListUserGroup error

Status
Not open for further replies.

mosys

Programmer
Joined
Sep 30, 2003
Messages
1
Location
US
In the Java LAPI, the following code using the ListUserGroup method gives an error:
"get(name) not implemented for this datatype".

Does someone have sample code calling ListUserGroup() that works correctly?

LLValue userRecords = new LLValue();
int maxRows = 5000;
int startId = 0;
int groupid = 5306;
String start = null;
LLValue searchParams = new LLValue();
searchParams.setAssoc();


searchParams.add("TargetType", lapiUsers.GROUP);
searchParams.add("SearchType", lapiUsers.ANY);
searchParams.add("SearchValue", "DC");
searchParams.add("Action", lapiUsers.NEXT);
searchParams.add("SearchColumn ", lapiUsers.NAME);
searchParams.add("SearchOpr", lapiUsers.STARTSWITH);

int status = lapiUsers.ListUserGroup(maxRows, startId, start, groupId, searchParams, userRecords);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top