ScapinVS
April 23rd, 2007, 11:21 AM
Hi there,
I have a little problem... I use the NetGroupAddUser() to add a user to an existing group. After thet, i give the group access to a directory using the .NET C# class FileSystemAccessRule.
When I leftclick the directory in Windows Explorer I get a message "Access denied". (The user logged in is the one I added to the group and its also the domain admin).
Well, when I rightclick the fodler and check the security settings, everything seems to be in place and also the user is member of the group.
When I reboot the machine, everything is fine.
Does anyone know how to solve this? Its seems, the User/Group relationship is not updated after NetGroupUserAdd() before a reboot. Is there anything I can do to trigger an update?
Thanks,
Scapin
I have a little problem... I use the NetGroupAddUser() to add a user to an existing group. After thet, i give the group access to a directory using the .NET C# class FileSystemAccessRule.
When I leftclick the directory in Windows Explorer I get a message "Access denied". (The user logged in is the one I added to the group and its also the domain admin).
Well, when I rightclick the fodler and check the security settings, everything seems to be in place and also the user is member of the group.
When I reboot the machine, everything is fine.
Does anyone know how to solve this? Its seems, the User/Group relationship is not updated after NetGroupUserAdd() before a reboot. Is there anything I can do to trigger an update?
Thanks,
Scapin