Query - rule assistance

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
ACDC
Posts: 1142
Joined: Sat Jun 30, 2007 5:03 pm
Location: California, USA

Query - rule assistance

Post by ACDC »

This has got to be a simple one, just can't seem to crack it.

I have a query that lists all regular users. Can someone assist me with a rule to filter the list so it does not show the user LoginName 'Admin' if the logged in user is not Admin

So , If the logged in users login name is 'John', then all RegularUsers are shown, accept the one where RegularUser.LoginName= 'Admin'

Thanks in advance
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

ACDC,

Try this:

If LoggedInRegularUser.LoginName<>'Admin'
AND RegularUser='Admin'

Then
READ PROTECT RegularUser FROM ALL


Can you let us know if this works?

Thanks,
Tom
Post Reply