Last active
October 2, 2018 22:52
-
-
Save jkbryan/e39edd77fda001cd5d5cd1c57f9bfa27 to your computer and use it in GitHub Desktop.
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