Adds a user without signing them in.
public:
HRESULT AddUser(
LPCWSTR emailAddress,
UINT32 *pUserId
)
emailAddress
Type: LPCWSTR
The email address of the user to be added.
pUserId
Type: UINT32 *
On successful completion, points to the User ID of the user.
Type: HRESULT
HRESULT success or error code.
Header: Declared in xtfuser.h.
Library: Use xtfuser.lib.