Re: [group] ?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
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 with is named Groups, not Group. I made this mistake before ... :)Sincerely, Ken Grome ..... ken@iav.com http://usarea.net/home.html Associated Messages, from the most recent to the oldest:

    
  1. Re: [group] ? (Kenneth Grome 1997)
  2. Re: [group] ? (John Hill 1997)
  3. [group] ? (Sven U. Grenander 1997)
>>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 with is named Groups, not Group. I made this mistake before ... :)Sincerely, Ken Grome ..... ken@iav.com http://usarea.net/home.html Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

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...

Related Readings:

WebCat editing, SiteGuard & SiteEdit (1997) Re:listfiles-looking for slick solution (1997) WebCatalog Technical Reference (1997) WC2b15 File Corruption (1997) timing out? (1997) dates and hex formatting (1997) [OT] (waaaay OT) (2004) Setting up shop (1997) Quotation Marks in Database (1998) Date Math broken on Mac OS X 10.4? (2007) emailer settings and control questions (1997) carriage returns in data (1997) Suffix Mapping (1997) Bug? (1997) Cart Transfer from Un-Secure to Secure (2000) finding server (2001) WebTen? (1997) problems with 2 tags (1997) Running _every_ page through WebCat ? (1997) logic help (1998)