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.

VB Script: ADSI unter ASP

Empfohlene Antworten

Hallo Leute!

Ich möchte meine NT Domäne nach ADSI Objekten befragen (in einem ASP Skript)

unter VBScript läuft der Code, doch unter ASP nicht!

'Einrichten einer Verbindung zum AD Service Provider (hier für WinNt 4.0 / 5.0 PDC´s u BDC´s

Set dso = GetObject("WinNT:")

'Bindung zur Domäne unter angegebenen Benutzernamen herstellen (über OpenDSObject Methode

'Set dom = dso.OpenDSObject("WinNT://" & strDomain, strBenutzer, strPasswort, 0)

Es kommen die richtigen Daten! Ich bekomme immer den Fehler: ' Fehler '80070520' !

Bitte helft mir!

  • 2 Wochen später...

Benutzer Infos bekommst mit:


Set DomainObject = GetObject( "WinNT://" & Domain & "/" & Name & ",user" )
Und dann kann man die verschiedenen Infos abfragen. (unter Windows NT sind das nicht so viele, mehr wird es erst mit AD)

Name = DomainObject.Get( "FullName" )

Description = DomainObject.Get( "Description" )

Profile = DomainObject.Get( "Profile" )

LoginScript = DomainObject.Get( "LoginScript" )

HomeDirectory = DomainObject.HomeDirectory

ADsPath = DomainObject.ADsPath

Ich hoffe, dass hilft Dir ein bisschen.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.