Export (0) Print
Expand All

IUserIdentityManager::ManageIdentities method

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

Displays a UI to the user, allowing the user to manage user identities.

Syntax


HRESULT ManageIdentities(
  [in]  HWND hwndParent,
  [in]  DWORD dwFlags
);

Parameters

hwndParent [in]

Type: HWND

An HWND value that identifies a window that will be brought to the foreground after the UI is dismissed.

dwFlags [in]

Type: DWORD

Optional flags to define how the UI will behave. Set to UIMI_CREATE_NEW_IDENTITY to prompt the user to create a new identity.

Return value

Type: HRESULT

The result of the management operation. If successful, it returns S_OK. Otherwise it will return one of the following error codes.

Return codeDescription
E_IDENTITIES_DISABLED

Identity management is disabled on the system.

E_USER_CANCELLED

The user canceled the dialog.

 

Requirements

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

IUserIdentityManager
IUserIdentityManager::Logon
IUserIdentityManager::Logoff

 

 

Community Additions

ADD
Show:
© 2015 Microsoft