You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The check for organization names for external users is case sensitive. So if you mark "SomeCompany" as an external organization name and you have users from that external organization where the organization unit is called "Somecompany" than those users are marked as CCB users and not CCX users.
Suggestion: use LCase in the check.
Original code:
If userName.Admd=externalORGs(x) Or userName.Country=externalORGs(x) Or userName.Organization=externalORGs(x)_
Or userName.Orgunit1=externalORGs(x) Or userName.Orgunit2=externalORGs(x) Or userName.Orgunit3=externalORGs(x)_
Or userName.Orgunit4=externalORGs(x) Or userName.Prmd=externalORGs(x) Then
userNote.ExternalORG = "true"
Exit For
End If
Suggested new code:
If LCase(userName.Admd)=LCase(externalORGs(x)) Or LCase(userName.Country)=LCase(externalORGs(x)) Or LCase(userName.Organization)=LCase(externalORGs(x)) _
Or LCase(userName.Orgunit1)=LCase(externalORGs(x)) Or LCase(userName.Orgunit2)=LCase(externalORGs(x)) Or LCase(userName.Orgunit3)=LCase(externalORGs(x)) _
Or LCase(userName.Orgunit4)=LCase(externalORGs(x)) Or LCase(userName.Prmd)=LCase(externalORGs(x)) Then
userNote.ExternalORG = "true"
Exit For
End If
The text was updated successfully, but these errors were encountered:
The check for organization names for external users is case sensitive. So if you mark "SomeCompany" as an external organization name and you have users from that external organization where the organization unit is called "Somecompany" than those users are marked as CCB users and not CCX users.
Suggestion: use LCase in the check.
Original code:
Suggested new code:
The text was updated successfully, but these errors were encountered: