This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Case "functionalIDFlag-ADMA-Import" | |
If csentry.DN.ToString.ToLower.Contains("functional") Then | |
mventry("functionalID").Value = "True" | |
ElseIf csentry.DN.ToString.ToLower.Contains("ou=fim") Then | |
mventry("functionalID").Value = "True" | |
ElseIf csentry("employeeID").IsPresent Or csentry("stfc-pid").IsPresent Then | |
'Real users - e.g. those created by the User Office process and those historical users no longer in CDR | |
mventry("functionalID").Value = "False" | |
Else | |
Throw New Exception("FunctionalID flag setting for: " & csentry.DN.ToString.ToLower) | |
End If |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment