The fastest easiest way to get it right.

ddUserPerm

NAME

ddUserPerm

FUNCTION

The PHP function ddUserPerm will tell you if the user is granted a particular permission on a particular table.

The permissions you can request are:

        sel: May the user select?
        ins: May the user insert?
        upd: May the user update?
        del: May the user delete?
        menu: Does this person see this on the menu?  To return a true for this permission, the user
                  must have menu permission and SELECT permission.

INPUTS

string $table_id - Id for the data dictionary table string $perm_id - Id for the permission (sel, ins, upd, del, menu)

RETURN VALUE boolean - if the user has the permission

User Comments

There are no user comments yet on this page.


Add A Comment

Comments will not appear until after they are moderated. Comments are usually moderated within a few hours on weekdays, but may take longer on weekends and holidays.

Name or nickname: (This will appear with your comment)


Email (this will never be displayed)


Enter your comment here. Use [b] and [/b] for bold, [i] and [/i] for italic, and [pre] and [/pre] for code samples. All literal HTML and PHP that you enter will be escaped out and displayed as you enter it.


Home |  Documentation |  Download |  Credits |  Contact |  Login
Andromeda © Copyright 2004-2010, Licensed under the GPL Version 2