IUserIdentity interface

[IUserIdentity is not supported and may be altered or unavailable in the future. Instead, use User Accounts with Fast User Switching and Remote Desktop.]

Exposes methods that provide identification, registry, and folder data for a specific user identity.

Members

The IUserIdentity interface inherits from the IUnknown interface. IUserIdentity also has these types of members:

Methods

The IUserIdentity interface has these methods.

Method Description
GetCookie Deprecated. Gets the cookie used to uniquely identify this user identity.
GetIdentityFolder Deprecated. Gets the file folder associated with this identity.
GetName Deprecated. Gets the name associated with this user identity.
OpenIdentityRegKey Deprecated. Retrieves the key in the registry that corresponds to this user identity.

 

Remarks

This interface provides information that corresponds to a specific user identity present on the system. You can access this user identity's identity folder, its registry key, and its identification cookie, as well as retrieve the name associated with the user identity.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
End of client support
Windows 2000 Professional
End of server support
Windows 2000 Server
Header
Msident.h
IDL
Msident.idl
DLL
Msident.dll

See also

IUserIdentity2

IUserIdentityManager

IEnumUserIdentity