Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Windows authentication with login form

Windows authentication with login form

Scheduled Pinned Locked Moved Visual Basic
helpwindows-adminsecurity
2 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wildfire2323
    wrote on last edited by
    #1

    I want to create a program that will prompt a user for a windows user name and password that authenticates against active directory. Once authenticated I want them to only be able to access particular forms based on their group permissions in active directory. For instance once logged in if they are in the Telnet group they can access the telnet portion of the program if not then they get a generic error telling them to contact their system administrator. They way I see it working is that when they log in it also checks to see what groups they are in and stores it as a variable. Each form that they then access checks that variable and if that group is not listed then the user will not have access to that portion of the program. Thanks for any and all help.

    N 1 Reply Last reply
    0
    • W wildfire2323

      I want to create a program that will prompt a user for a windows user name and password that authenticates against active directory. Once authenticated I want them to only be able to access particular forms based on their group permissions in active directory. For instance once logged in if they are in the Telnet group they can access the telnet portion of the program if not then they get a generic error telling them to contact their system administrator. They way I see it working is that when they log in it also checks to see what groups they are in and stores it as a variable. Each form that they then access checks that variable and if that group is not listed then the user will not have access to that portion of the program. Thanks for any and all help.

      N Offline
      N Offline
      Nouvand
      wrote on last edited by
      #2

      If you're using VB.NET or VB2005. Please spend your time to look at MSDN Help: 'My.' From 'My' you can get a lot of information about security, Devices, etc.. :cool:

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups