IXtfUserClient::DeleteUser
Removes a user, specified by email address, from the console.
Syntax
public:
HRESULT DeleteUser(
LPCWSTR userName
)
Parameters
userName
Type: LPCWSTR
The email address used to add the user to the console.
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 user by specifying a user ID, use DeleteUserId.
To delete all users, use DeleteAllUsers.
To add a user, use AddUser.
Requirements
Header: xtfuser.h
Library: xtfuser.lib
Supported platforms: Windows (for Xbox console tools)