Skip to content

Instantly share code, notes, and snippets.

Last active October 2, 2018 22:52
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
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"
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