numero = 11464
interpreted = N
texte = >>Is there a single command or global tag for retrieving what password>>groups the current user belongs to ? I tried [group] just to see if it>>existed, but it doesn't seem to.>>>>I want to use a construct like:>>>>[ShowIf [group]^admin]
PW_GROUP
>name=PW_GROUP size=20 value=[PW_GROUP]>
[/ShowIf]>>>>so that we can selectively allow field editing privileges to groups,>>rather than individuals.>There isn't a single command to do it, but a simple search (or better yet,>Lookup) in the Users.db database would give you that information.AAlso, keep in mind that the field in the Users.db file you're dealing withis named Groups, not Group. I made this mistake before ... :)Sincerely, Ken Grome ..... ken@iav.comhttp://usarea.net/home.html
Associated Messages, from the most recent to the oldest:
>>Is there a single command or global tag for retrieving what password>>groups the current user belongs to ? I tried [group] just to see if it>>existed, but it doesn't seem to.>>>>I want to use a construct like:>>>>[ShowIf [group]^admin]
PW_GROUP
>name=PW_GROUP size=20 value=[PW_GROUP]>
[/ShowIf]>>>>so that we can selectively allow field editing privileges to groups,>>rather than individuals.>There isn't a single command to do it, but a simple search (or better yet,>Lookup) in the Users.db database would give you that information.AAlso, keep in mind that the field in the Users.db file you're dealing withis named Groups, not Group. I made this mistake before ... :)Sincerely, Ken Grome ..... ken@iav.comhttp://usarea.net/home.html
Kenneth Grome
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...