DTRHELP.HLB  —  Commands Statements Clauses, DELETEP Command, Example
       The following example shows the ACL of the DMU YACHTS domain and
       deletes an entry from it:

       DTR> SHOWP YACHTS
         1:    [*,*], Username: "STARKEY"
               Grant - CDEFGHMPRSUWX, Deny - none, Banish - none
         2:    [*,*], Username: "DUNCAN"
               Grant - EHMPRSUW, Deny - CDFGX, Banish - none
         3:    [*,*], Username: "HARRISON"
               Grant - CDEFGHMPRSUWX, Deny - none, Banish - none
         4:    [*,*]
               Grant - none, Deny - CDEFGHMPRSUWX,  Banish - none

       DTR> DELETEP YACHTS 2
       DTR> SHOWP YACHTS
         1:    [*,*], Username: "STARKEY"
               Grant - CDEFGHMPRSUWX, Deny - none, Banish - none
         2:    [*,*], Username: "HARRISON"
               Grant - CDEFGHMPRSUWX, Deny - none, Banish - none
         3:    [*,*]
               Grant - none, Deny - CDEFGHMPRSUWX,  Banish - none

       DTR>

       See the chapter on ACL in the DEC DATATRIEVE User's Guide for
       other examples of working with ACLs.
Close Help