cancel
Showing results for 
Search instead for 
Did you mean: 

How to send parameters with LIKE condition in URL

0 Kudos

Hello Guys,

I'm facing a problem that i couldn't find solution yet on the internet.

Basically i need to search for username or name in URL.

At the moment i can just find for exactly username or name.

Ej:

http://server/XMII/Illuminator?service=admin&mode=UserAttribList&Group=laconceicao&Content-Type=text...

In this case i have the complete login "laconceicao", but i need to search if i just have some of the letters, like below.

http://server/XMII/Illuminator?service=admin&mode=UserAttribList&Group=%lacon%&Content-Type=text/xml

but like this /\ does not work,

Ej of return:

Anyone could help me?

Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

swaroop_anasane
Active Contributor
0 Kudos

Hi Lucas,

Your question is not clear. Can you be a little more specific?

What is it to like condition, where are you using it.

Regards,

Swaroop

0 Kudos

Good Morning,

I think is not possible to do what i want, because the UserAttribList mode returns only one user.

I need to search all the Lucas i have, so, if use database or sql command i would use like this:

WHERE COD_NAME LIKE '%Lucas%'.

But i do not know how to write this in the URL, and i couldn't find in the scn a mode to return many information about more then 1 user.

Is it a little bit clear?

Im so bad to explain what i need.

Thanks for the answer until now.

swaroop_anasane
Active Contributor
0 Kudos

Hi Lucas,

Sad to tell you, Illuminator services have specific modes and parameters that could be passed to it. What you can do is get all the users in an XML and then filter based on /Row[User="Lucas"].

I guess you would have gone through this link, still for your reference, below are the services available:

Also, check for a work aroung suggested by Christian in below thread:

MII Admin Service - All user attributes (teleph... | SCN

Hope it helps.

Best Regards,

Swaroop