TomBarrand
Programmer
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
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