Returns a IUserDirectoryUser for the user with the specified user name.
The user name of the user to look up.
A corresponding IUserDirectoryUser for the specified user name, if the user was found in the directory; otherwise null (Nothing in Visual Basic).
System.ArgumentNullException |
userName is null (Nothing in Visual Basic) or empty. |