Results 1 to 2 of 2

Thread: Checking User Rights

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    Pittsburgh
    Posts
    3

    Question Checking User Rights

    Can anyone direct me to an API call or show me an example of some code that would check to see what a users effective rights are for Windows NT.

    I want to create a check for the following users listed below and use this check to determine whether or not a program will be allowed to run based on the users rights.

    Example: administrator, poweruser, user.


    Thanks in advance.

    Bernie B

  2. #2
    Fanatic Member crispin's Avatar
    Join Date
    Aug 2000
    Location
    2 clicks west of a Quirkafleeg...Cornwall, England
    Posts
    754
    www.mvps.org/vb

    look for the sample called NetUser
    Crispin
    VB6 ENT SP5
    VB.NET
    W2K ADV SVR SP3
    WWW.BLOCKSOFT.CO.UK

    [Microsoft Basic: 1976-2001, RIP]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width