Re: display user rights on local and remote machine

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Mark, i read the "Using Authorization in Visual Basic" the section on
'Qualifying Access with Business Logic in Visual Basic' or 'Establising a
Client Context in Visual Basic' seems to be what you are suggesting to verify
the user's rights. but it seem to only look at a XML file i created.

i does not seem to get to what i'm looking for in my second goal. the means
into which see what the user rights are for a given domain user or group. i'm
needing to verify that a domain account has read, write .. rights on a folder
and file similar to that found when using the "security" tab when you right
mouse, select properties, and select security tab.

am i miss reading the MSDN section you mention?




"Mark Yudkin" wrote:

> For the domain rights, in the Active Directory (use ADSI from VB6). For the
> local machine via the NetXXX set of APIs.
>
> In general it is simpler to check the rights than to analyse them (as in
> XP's "Effective Permissions" page of the Advanced Security Settings). Review
> the section "Using Authorization in Visual Basic" from the MSDN Library -
> Security - Authorization.
>
> "auldh" <auldh@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:5C3F59DE-555B-44A9-BB6D-3300DA75245F@xxxxxxxxxxxxxxxx
> >i have need to check on what rights a domain user account has on a local
> >and
> > remote machines.
> >
> > for example a domain account "johndoe" i would like via VB to check to see
> > if this user is a member of what local accounts on a machine. then check
> > this
> > user on a remote machine.
> >
> > then check what the group has rights/privileges to. such as read, write...
> >
> > so where would i start to find this information?
>
>
>
.



Relevant Pages