The sandboxed solution can only access content from the site collection in which it was deployed, so I am afraid we cannot access the directory services.
For more information, please refer to:
TechNet Community Support
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Would you like to participate?