Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes all users from this console.
Syntax
public:
HRESULT DeleteAllUsers()
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)