Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Tue, 19 Apr 2005 17:25:39 -0500,    group: microsoft.public.platformsdk.active.directory        back       


Possible to know if given user has file permission   
Newbie here. Is is possible for an application to query active directory to
tell whether a given user has read access to a given file? How?
date: Tue, 19 Apr 2005 17:25:39 -0500   author:   Chris anon

Re: Possible to know if given user has file permission   
Well not directly, you need to ask the file system if someone has access, but 
possibly you might look at AD to see what groups the user is in.

   joe

--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net


Chris wrote:
> Newbie here. Is is possible for an application to query active directory to
> tell whether a given user has read access to a given file? How?
> 
>
date: Tue, 19 Apr 2005 19:46:56 -0400   author:   Joe Richards [MVP]

Re: Possible to know if given user has file permission   
Ok. How does one ask the file system if someone has access? I'm looking for
an API call.


> Well not directly, you need to ask the file system if someone has access,
but
> possibly you might look at AD to see what groups the user is in.
>
>
> Chris wrote:
> > Newbie here. Is is possible for an application to query active directory
to
> > tell whether a given user has read access to a given file? How?
> >
> >
date: Tue, 19 Apr 2005 21:27:54 -0500   author:   Chris anon

Re: Possible to know if given user has file permission   
It has been quite a while since I have done anything with the file system 
security pieces (I focus mostly on LDAP/Enterprise Directory stuff now), I would 
recommend popping over to one of the security programming groups, I think you 
will find a platform sdk for security group. Off the top of my head, I think if 
you look in MSDN under security you will find some API calls that start with 
AccessCheck*

   joe

--
Joe Richards Microsoft MVP Windows Server Directory Services
www.joeware.net


Chris wrote:
> Ok. How does one ask the file system if someone has access? I'm looking for
> an API call.
> 
> 
> 
>>Well not directly, you need to ask the file system if someone has access,
> 
> but
> 
>>possibly you might look at AD to see what groups the user is in.
>>
>>
>>Chris wrote:
>>
>>>Newbie here. Is is possible for an application to query active directory
> 
> to
> 
>>>tell whether a given user has read access to a given file? How?
>>>
>>>
> 
> 
>
date: Tue, 19 Apr 2005 22:49:22 -0400   author:   Joe Richards [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us