IIdentityChangeNotify::IdentityInformationChanged method

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

Called when information about a user identity has changed, or when a user identity has been added or deleted.

Syntax


HRESULT IdentityInformationChanged(
   DWORD dwType
);

Parameters

dwType

Type: DWORD

A value that specifies the type of information changed, or the operation performed on an identity. Can be a combination of the following values.

(IIC_CURRENT_IDENTITY_CHANGED)

The current identity has been modified.

(IIC_IDENTITY_CHANGED)

An identity has been modified.

(IIC_IDENTITY_DELETED)

An identity has been deleted.

(IIC_IDENTITY_ADDED)

A new identity has been added.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

You may implement this method to provide custom behavior for your application when the list of user identities on the system has been modified.

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

Msoe.dll

 

 

Show: