Check user permissions on public folder at run-time?

  • Thread starter Thread starter kristy
  • Start date Start date
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
 
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.
 
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
 
Back
Top