If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Querying users for a particular Group using SDK (java)

Started by thecustomizer, 16 Feb 2006 08:19:26 AM

Previous topic - Next topic

thecustomizer

Hi,

The namespace name is "Cognos". The Group created under the namespace is named "PageSharingTest".
I need to access all the members of that group using the query method.
The SDK documentation states that this can be done using the expandMembers function in the "search" parameter of the query method.

The systax i used is:
objectname.query(expandMembers(/directory/*[@name="Cognos"])/*[@name="PageSharingTest"]),props,sOpt,qOpt)

It does not work and gives an error saying "Illegal start of expression".
If anybody else has achieved what i want to do i.e. obtain all the members of a particular group, please get back to me ASAP.

Thanks in advance.

jatincognoise

Hi theCustomizer,

Instead of using

objectname.query(expandMembers(/directory/*[@name="Cognos"])/*[@name="PageSharingTest"]),props,sOpt,qOpt)

try using
objectname.query(expandMembers(CAMID("::PageSharingTest")/*,props,sOpt,qOpt)


jatincognoise

Hi thecustomizer,
Instead of using

objectname.query(expandMembers(/directory/*[@name="Cognos"])/*[@name="PageSharingTest"]),props,sOpt,qOpt)

try using
objectname.query(CAMID("::PageSharingTest")/*,props,sOpt,qOpt)

And tell me


Cheers and  Thanks
Jatin