Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the User object from the cache.
Namespace: Microsoft.WindowsServerSolutions.Users
Assembly: UserObjectModel (in UserObjectModel.dll)
Syntax
public User GetUser(
string userName
)
public:
User^ GetUser(
String^ userName
)
Public Function GetUser (
userName As String
) As User
Parameters
userName
Type: System.StringThe name of the user account.
Return Value
Type: Microsoft.WindowsServerSolutions.Users.User
An instance of User.
See Also
GetUser Overload
UserMgmtManager Class
Microsoft.WindowsServerSolutions.Users Namespace
Return to top