I don't know if this is the right newsgroup for this, but....

We need to secure records in a table based on Active Directory
permissions. Can someone point me to a good resource (with examples)
of how to go about this? Here is some pseudo-code of what I'd like to
be able to do:

select * from mytable where UserIsAllowed("Brad")

In this example, the "UserIsAllowed" function tests each record,
presumably using AzMan, checking both the user and the groups the user
belongs to.

Any help would be appreciated. Thanks!

Brad.