Re: Using domain login names for access control?
- From: <david@epsomdotcomdotau>
- Date: Mon, 25 Jun 2007 22:18:09 +1000
Anything in Active Directory you can get -- if you know
where it is and have permission.
using ADO, you can query against active directory,
using SQL or ldap_dialect:
SELECT ADsPath, cn FROM 'LDAP://OU=Sales,
DC=Fabrikam,DC=COM' WHERE
objectCategory='person' AND objectClass ='user'
http://msdn.microsoft.com/library/en-us/adsi/adsi/ldap_dialect.asp
(david)
"DaveK" <DaveK@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4FF1B27B-D568-4D14-BCC6-77F5F3812697@xxxxxxxxxxxxxxxx
I would like to make a table containing a list of selected users, theirSIDs
or at least NT domain login names and an admin granted level of securityfor
later queries. How do I go about comparing the current user with the listof
login names? I guess I can live without the SID part, but I do want tolimit
certain users to certain queries based on their NT domain names. Is thisMy
possible? I cannot find any VBA calls to retrieve who is using the DB.
system has a front end for forms and reports and is connected to a SQLto
backend. It is pretty much all done, the SQL works fine, but now I want
limit who sees what. I plan to compare the login ID with their securityThanks
level to modify the query so they see only the data for their region.
for any pointers.
.
- Prev by Date: Re: Disable Security - help!
- Next by Date: Re: Always asked to login, and I can't!
- Previous by thread: Re: Using domain login names for access control?
- Next by thread: Re: Multi-User Error Message
- Index(es):
Relevant Pages
|