0

I am trying to import users from Active directory and in one of the cases, the user has a last name as Null. Can I have some pointers as to how should I take this one down?

2
  • Why is this a problem? Is the name in the AD "Null" or is it a null value in the AD? Commented Apr 11, 2011 at 16:38
  • 2
    They way you state it: String myString = "null"; "null" is a string, null is the null value. So again: where's the problem? Commented Apr 11, 2011 at 16:40

2 Answers 2

3

That should be no problem, since it will be read as a String with the value "Null" not null.

Sign up to request clarification or add additional context in comments.

Comments

2

There is nothing special about the string "Null"; you can use it normally.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.