The IUIResourceMgr::LogoffUser method, in Configuration Manager, logs off the user who is currently logged on.

[IDL]
HRESULT LogoffUser();

Parameters

None.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

S_OK


The method succeeded.

Remarks

This method can only be called in the context of the user who is currently logged on to the client.

Requirements

UIResource.dll.

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.