Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    Groups (Word XP VBA)

    I want to restrict acess to a network Group using VBA. Is it possible to determine whether Environ("UserName") is a member of a specific group?

    Thanks,
    Richard

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Groups (Word XP VBA)

    I think you need to look up the user in the Active Directory. On the VBA board (I think) there was a thread recently about querying the AD database using LDAP for group information. The context was VBScript in an ASP page on a web server, but the links were more general. Hope that helps.

Posting Permissions

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