Skip to main content

IXtfUserClient::DeleteAllUsers

Removes all users from this console.

Syntax

Parameters

This method has no parameters.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

If a user is signed in to the console, the user is signed out before being removed. To delete a single user, use either DeleteUser or DeleteUserId. To add a user, use AddUser.

Requirements

Header: xtfuser.h Library: xtfuser.lib Supported platforms: Windows (for XBOX console tools)

See also

IXtfUserClient interface
Last modified on August 20, 2026