Removes a user with specified User ID from the console.
public:
HRESULT DeleteUserId(
UINT32 userId
)
userId
Type: UINT32
The User ID of the user to be removed.
Type: HRESULT
HRESULT success or error code.
A signed-in user is signed out before being removed from the console.
Header: Declared in xtfuser.h.
Library: Use xtfuser.lib.