Check user permissions on public folder at run-time?

K

kristy

Hi

How can I check the current users permissions to a specified public
folder at runtime?

I have seen an example at CDO Live that sort of does what I need (ie, I
need to know if they have read only or create/delete access on the
specified folder) but I would like to use Redemption if possible.

Is it PR_ACCESS that I need or are there other things to consider?
Also how do I read the values of PR_Access to get the infomation that I
need.

Thanks

Kris
 
K

Ken Slovak

PR_ACCESS and you can also look at PR_ACCESS_LEVEL. You can read those as
binaries and then you'd have to decode the bit flags. You can use the sample
CDO code to get a view of how to decode the bits.
 
K

kristy

Thanks Ken

It's great to have the reassurance that I'm using the correct
properties, many times before I've used the wrong properties (that
looked like the correct ones) or not looked at the 'whole picture' and
had varying results.

Thanks again
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top