Results 1 to 2 of 2
  1. #1
    Matt Kinsella
    Guest

    NT Account Membership

    Is it possible to obtain the name(s) of NT Accounts to which a given user belongs. I am already using the 'GetUserName' API call to find out the user's name, but have not so far found any way to get their Account membership information.

    Many thanks,

    Matt[img]/w3timages/icons/thumbup.gif[/img]

  2. #2
    Silver Lounger
    Join Date
    Mar 2001
    Location
    Springfield, Ohio, USA
    Posts
    2,136
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: NT Account Membership

    Matt, I haven't tried it, but I think that NetUserGetGroups is the API that you want. I found infor on it at
    http://groups.google.com/groups?q=NT+Accou...=959419430&ic=1 Hope this helps! --Sam

    Sam Barrett, MTL Systems, Inc., mailto:sam@mtl.com
    Brainbench MVP, http://www.brainbench.com

    And the things that you have heard...commit these to faithful
    men who will be able to teach others also. 2 Timothy 2:2
    <font face="Comic Sans MS">Sam Barrett, CACI </font face=comic>
    <small>And the things that you have heard... commit these to faithful men who will be able to teach others also. 2 Timothy 2:2</small>

Posting Permissions

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