RE: Sample security Code is not working!



Hi All,

I reinstalled Exchange SDK so that I got the fresh copy of Security samples.
using this sample, I sucessfully accessed my sample folder. My Sample folder
contain following members
Default
Rajesh(user)
Anonymous
and TestGroup(group)

I changed my role from 'Author' to 'Editor' and clicked OK.

Using ESM I tried to view Client permissions of the same folder and I saw
that my role has been changed to 'Editor' . I selected myself and changed
role from 'Edit' to 'Author' and got 'Windows Handle exception' !!!! -

I did slight change in the algorithm and which is working and not sure this
break anything else... please review and tell me am I going right track.

1. Sort members
First - Anonymous
Second - users
Third - groups/Alias
Last - others
Final - 'Everyone'
2. Clean masks
3. Create DACL as follows
a) Create SD for Anonymous for all masks
b) Create SD for users for all masks
c) Create Group/Alias/Well_known SDs for even masks
d) Create Group/Alais/Well_know SDs for odd masks
e) Create SDs of 'everyone' for all masks.

Please advice

Thanks

Rajesh

"Raj" wrote:

Please help me on this. I am not able to move forward . If Dls are members of
the folder, I can update folder but getting 'Window handle exception' when
try to add/update folder permission using ESM. This is format I use to write
user, groups and well know groups

1. Sort First Users Second Groups and Alias, third others(well knowns) and
last '/Everyone'
2. Clean Masks
2. Create user's SD for each mask
3. Create Group, Alias, and Well know groups(except 'everyone') SD for each
even mask
4. Create Group, Alias, and well know groups(Except 'everyone') SD for each
odd mask
5. Create SD for 'Every one' for all mask...

Any problem in that ordering?

Please help.

Thanks in Advance

Rajesh

"Raj" wrote:

Hi,

After updating a folder member (only DL ) using sample code provided in
Exchange SDK, tried to update the same folder using ESM and got WIndows
handle exception!. If no group present in the folder, i am able to update the
folder member without any issue! any one face same issue? what might be the
problem?

Could you please send me Latest LoadSaveDacl.js file and Security.js file ....

Thanks

Rajesh
.



Relevant Pages

  • Re: create folder in public folders using Exchange SDK and C#
    ... you can find plenty of resource in the Exchange SDK on this topic. ... issue a DELETE command on the resource. ... To traverse the folder hierachy, you can do a hierachical search. ...
    (microsoft.public.exchange2000.development)
  • Re: create folder in public folders using Exchange SDK and C#
    ... my code shd be like this ... Connection exchConnection = new Connection("Daffoserver", ... Folder folder = new ... you can find plenty of resource in the Exchange SDK on this topic. ...
    (microsoft.public.exchange2000.development)
  • Re: OWA 2003 - Enforce Spell Checking Before Sending???
    ... Start with the Exchange SDK and tools which you can download from ... http://msdn.microsoft.com/exchange/ If you use a tool like exchange explorer ... does a Proppatch on the folder to modify that particular property. ...
    (microsoft.public.exchange.development)
  • Re: create folder in public folders using Exchange SDK and C#
    ... I am trying to Delete a folder from the exchange store by using the ... you can find plenty of resource in the Exchange SDK on this topic. ... Best regards, ...
    (microsoft.public.exchange2000.development)
  • Re: PF Admin tool & Administrative Rights
    ... to use administrative accounts to add/update/delete folder and folder member ... add/update/delete folder member roles using administrative account but able ...
    (microsoft.public.exchange2000.development)

Loading