What is wrong in this code, my manager asking what if function failed. what I have missed here.its in vb.net. :(
Private Function IsListedUser() As Boolean
If Not String.IsNullOrEmpty(MyNeo.SessionData.Accessor.CurrentAccountDID) Then
If (Not String.IsNullOrEmpty(MyNeo.SessionData.CBSessionUser.UserDID) AndAlso SettingControl.GetString("sUserDIDPreferenceUsers").Contains(MyNeo.SessionData.CBSessionUser.UserDID)) OrElse _
(SettingControl.GetBoolean("bHideWhiteListedUserWS", False) AndAlso IsAccountWhiteListed(MyNeo.SessionData.Accessor.CurrentAccountDID)) Then
Return True
End If
End If
End Function