Zooflow: Add Active Directory User Import

This commit is contained in:
Jonathan Jenne
2022-03-07 15:51:27 +01:00
parent 4dec4be471
commit 6ffc699fb1
30 changed files with 1514 additions and 348 deletions

View File

@@ -1,19 +1,20 @@
Imports System.Security.Principal
Public Class ADUser
Public GUID As Guid
Public SId As SecurityIdentifier
Public samAccountName As String
Public Surname As String
Public GivenName As String
Public Middlename As String
Public Email As String
Public Property GUID As Guid
Public Property samAccountName As String
Public Property SId As SecurityIdentifier
Public Property Surname As String
Public Property GivenName As String
Public Property Middlename As String
Public Property Email As String
Public CustomAttributes As List(Of CustomAttribute)
Public Overrides Function Equals(obj As Object) As Boolean
Return DirectCast(obj, ADUser).samAccountName
End Function
Public Overrides Function ToString() As String
Return samAccountName
End Function