Removes a user with specified email address from the console.
public:
HRESULT DeleteUser(
LPCWSTR userName
)
userName
Type: LPCWSTRÂ
The email address used to add the user to the console.
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.