IXtfUserClient::DeleteUserId Method

Removes a user with specified User ID from the console.

Syntax

public:
HRESULT DeleteUserId(
         UINT32 userId
)  

Parameters

userId
Type: UINT32 

The User ID of the user to be removed.

Return value

Type: HRESULT 

HRESULT success or error code.

Remarks

A signed-in user is signed out before being removed from the console.

Requirements

Header: Declared in xtfuser.h.

Library: Use xtfuser.lib.