Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Aug : User Names
| Subject: | User Names |
| Posted by: | "Frank M. Cook" (fco..@acsplus.com) |
| Date: | Thu, 23 Aug 2007 14:54:22 |
Is there a windows api to assign windows user's to groups that can be
accessed via C++Builder? we need to create a security system that will
allow users to restrict their staff to parts of our application and I'm
wondering if we should just create our own login system or if there is a
better way that would allow windows to handle all the password and user
creation stuff. I'm thinking our application might by default allow
"everyone" to do everything but allow an administrator to, for example,
limit checkwriting to the members of the "checkwriting" group.
so can I create windows groups and users within my application? can I read
what groups the user belongs to?
I suppose if I can read the groups and determine if the current user is a
member I could pretty much leave the task of getting the right users in the
right groups to windows. anyone been down this road before?
--
Frank M. Cook
www.acsplus.com