Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ActiveDirectory mit VB

Empfohlene Antworten

Veröffentlicht

Hallo Kollegen

ich habe folgendes Problem.

Ich will mir mit VB die AD Gruppen auslesen und die zugehörigen User in einer Textdatei ausgeben, nach dem Schema:

Gruppe1,User1

Gruppe1,User2

Gruppe2,User3

usw...

Das Programm dazu habe ich ja schonmal:

Const strDomain = "DOMAIN"

Const strListFile = "C:\Documents and Settings\salomon\Desktop\GruppenListe.txt"

Const strDelim = ","

Set objListFile = CreateObject("Scripting.FileSystemObject").OpenTextFile(strListFile, 2, True)

Set colGroups = GetObject("WinNT://" & strDomain)

colGroups.Filter = Array("Group")

For Each objGroup In colGroups

strGroup = objGroup.Name

For Each objUser in objGroup.Members

strUserName = objUser.Name

If Right(strUserName, 1) <> "$" Then

objListFile.WriteLine Chr(34) & strGroup & strDelim & objUser.Name & Chr(34)

End If

Next

Next

objListFile.Close

Jetzt brauch ich aber Folgendes:

Ich möchte 1. nur Bestimmte OU's auslesen, also z.B. Domäne/Administratoren + Domäne/Builtin + Domäne/Irgendwas

2. wurde mir gesagt, ich solle nur die AD-Rechte berücksichtigen, nichts was mit NTFS zu tun hat

Wär Super wenn ihr mir helfen könntet

Danke schonmal

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.