G5 Flashcards
(30 cards)
A representation of a directory within the file system; in VB.NET, it refers to an object that represents a directory (or folder) on your computer or network.
DirectoryEntry
A .NET namespace used for working with folders and files, commonly used when handling local file system directories.
System.IO
A .NET namespace used for working with network directories such as Active Directory.
System.DirectoryServices
A class under System.IO used to handle directory-related operations for local files and folders.
DirectoryInfo
A class under System.DirectoryServices that lets you connect to and modify directory services like Active Directory in network environments.
DirectoryEntry (Active Directory)
A class in VB.NET used to search and retrieve objects from Active Directory (e.g., users, computers, groups).
DirectorySearcher
Method in DirectorySearcher that returns the first match found in Active Directory.
FindOne()
Method in DirectorySearcher that returns a collection of all matching directory entries in Active Directory.
FindAll()
A property in DirectorySearcher that defines the search query, such as filtering by username or email.
Filter
A property in DirectorySearcher used to retrieve specific attributes like ‘mail’ or ‘displayName’ from search results.
Properties
Connect to Active Directory using a DirectoryEntry object.
Using DirectorySearcher - Step 1
Create a DirectorySearcher object and set a filter for the search.
Using DirectorySearcher - Step 2
Execute the search to retrieve results from Active Directory.
Using DirectorySearcher - Step 3
Extract data from the DirectorySearcher search results.
Using DirectorySearcher - Step 4
Retrieving user details like name, email, and department.
Common Uses of DirectorySearcher - 1
Searching for a specific user or group in Active Directory.
Common Uses of DirectorySearcher - 2
Filtering directory objects using LDAP queries.
Common Uses of DirectorySearcher - 3
Authenticating users by checking their presence in the directory.
Common Uses of DirectorySearcher - 4
A Windows Forms control in VB.NET that allows users to select a value from a predefined list using up/down arrows instead of a dropdown menu.
DomainUpDown
A property containing the list of items that can be selected in the DomainUpDown control.
Items (DomainUpDown)
A property that gets or sets the index of the currently selected item in DomainUpDown.
SelectedIndex (DomainUpDown)
A property that gets the currently selected item in DomainUpDown as a string.
Text (DomainUpDown)
A property that enables cycling through items when reaching the start or end of the DomainUpDown list.
Wrap (DomainUpDown)
When false, allows auto-completion of typed text to match items in the list; when true, disables user text input.
ReadOnly (DomainUpDown)