update active directory interface to sync to mssql and to sync custom attributes

This commit is contained in:
Jonathan Jenne
2019-04-17 16:29:44 +02:00
parent 32b000c947
commit 0374016cde
10 changed files with 437 additions and 133 deletions

View File

@@ -0,0 +1,8 @@
Public Interface ISyncUsers
Function SyncUsers(GroupName As String, Users As List(Of ADUser), PropertyMapping As List(Of AttributeMapping)) As List(Of ADUser)
Function GetGroupId(GroupName As String) As Integer
Function GetUserId(UserName As String) As Integer
Function CreateUser(User As ADUser) As Integer
Sub AddUserToGroup(UserId As Integer, GroupId As Integer)
Sub AddCustomAttributesToUser(User As ADUser, UserId As Integer)
End Interface