Instruction: Answer the given question by extracting information from the supporting document.

Input:
Question: Is this Nikon 50mm f/1.8D AF Nikkor Lens - Grey Market compatible with Nikon D5100?
Document: Because this is the last generation lens (the predecessor to the Nikon 50mm f/1.8G AF Nikkor Lens), it comes with a much lighter price tag. I have personally used the 1.8G and the 1.8D. Both lenses take great pictures; there's not a whole lot of difference in the optics (favoring the 1.8G slightly). The 1.8D is a little noisier when it focuses, and it still has an aperture ring. The 1.8G does not have an aperature ring, and is slightly bulkier.The Nikon 50mm f/1.8D AF Nikkor Lens is a superb value for the entry level photographer.
I'm using it with my Nikon D5100, for that price this is a very nice Lenses. I'm quite happy with my Nikon 50mm.The manual aperture doesn't work with my Nikon model and should stay locked, anyway everything is controlled by the Camera software. Now, I wanna try the Nikon 50mm f/1.8 G to see the difference.
I presently have a Nikon D5100 camera. I read dozens of reviews regarding this lens, most were good, a few not so good relating to the D5100. I have to say I just received it a couple of hours ago and it is incredible. Outdoor shots at f4 and f22 crisp, clear and bright...inside at f 1.8 equally amazing without flash. I kicked up some internal settings in the D5100 such as "picture control"...I set to Vivid, saturation with 3 right clicks, and set ISO at 100 speed - incredible pictures.
Great depth and awesome color clarity.Looking forward to learning more about what this lens can do, but it works great on a Nikon D5100 digital. You have to focus manually, but I prefer that anyway. You set the aperture lock at f22 and adjust in "P" or "M" mode.Going to be traveling this year and this 50mm will be our primary lens. Lightweight and sturdy. With a Nikon 55-200 I will only need 2 lens, both lightweight instead of the more bulky 300 telephoto and the standard lens that came with the D5100.All the good things I read about this lens are totally true, and a bargain at that!
Along with so many others, I think this is a great lens. Terrific value and in perfect new shape. No problem with it being grey market.
This compact and fast, f/1.8 lens is versatile and perfect for travel and portrait pictures as well as general photography.
This lens only works in auto focus mode with built in focusing motor cameras. Since I have a nikon D5100 I can't use the auto focus mode, but let me tell you something, once you get used to focus it manually you'll get super sharp pictures and a an unbelievable bokeh if you can play with field depth. I highly recommend it, just a great piece of optics.
The depth of field is amazing and colors vivid. Manually focusing was not at all a problem, the D5100 provides a small green dot in the viewfinder to indicate proper focus....I relied on that most of the time, but not always.This has become my favorite lens hands down and a true bargain for the price.UPDATE:  It has been 5 months since we got this lens and it is performing perfectly. I get caried away talking about this lens because it is that good! My wife is going to take up photography and took my D5100, I now upgraded to a Nikon D7000 and will have to purchase another one of these soon for her.
I LOVE this lens! I really have no complaints except that my camera body (a Nikon D5000) is too "basic" - and will not drive this lens in auto-focus. I can manually focus it no problem, and on higher Nikon models (D7000 and higher) there is an additional pin that will make this lens truly AF if you want it. Now I just have an excuse to upgrade my camera body:)  Great lens though, takes amazing photos. Fast shutter speeds, because it has such a large max aperture.
the images are slightly soft at f1.8- f2.0 but sharpness increases tremendously at f4 and is probably one of the sharpest lenses made by Nikon. so ignore any reviewer that says this lens is bad. they probably got a bad sample or the ups workers damaged the package (which happens very often) great lens for if you're on a budget or an amuerature photographer or even a professional in need of a portrait lens. Don't forget though this lens is made for fullframes so the 1.5X factor is in on smaller sensor sizes so this lens is actually a 75mm on many cameras.
Answer: yes but I don't think the AF works.