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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ListMembers Error

Status
Not open for further replies.

TomBarrand

Programmer
Aug 9, 2000
162
GB
Hi,

I am trying to find out which users are members of a particular group and have called ListMembers to do this. However the following error is produced. I am using Java. If anyone has a Java example or knows how to get round the error that would be appreciated.

com.opentext.api.LLIllegalOperationException: get(n,name) not implemented for this datatype
at com.opentext.api.LLInstance.get(LLInstance.java:85)
at com.opentext.api.LLValue.toInteger(LLValue.java:864)

I have attached the relevant bits of my code below.

LLValue table = ( new LLValue() ).setAssocNotSet();
LAPI_USERS users = new LAPI_USERS( session );

int result = users.ListMembers( GROUP, "A Test Group", table );

id = table.toInteger( i, "ID" );
System.out.println("ID "+i+id);
str = table.toString( i, "Name" );
gtype = table.toInteger( i, "Type" );

Thanks

Tom
 
The example you refer to uses ListUsers not ListMembers. Do you have any experience of ListMembers?

Thanks

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top