3.2.4.9.2 SetRemoteUserCategories (Opnum 8)

The SetRemoteUserCategories method sets user categories information on the WSRM server.

 [id(2), helpstring("method SetRemoteUserCategories")] HRESULT SetRemoteUserCategories(
   [in] BSTR bstrRemoteUserCategoriesInfo
 );

bstrRemoteUserCategoriesInfo: A string that specifies categories of remote session users, in the format of a Users element (section 2.2.5.30).

If this parameter is NULL, E_INVALIDARG MUST be returned.

Return Values: This method returns 0x00000000 for success or a negative HRESULT value (in the following table or in [MS-ERREF] section 2.1.1) if an error occurs.

Return value/code

Description

0x00000000

S_OK

Operation successful.

0x80070057

E_INVALIDARG

One or more arguments are invalid.

0xC1FF0070

WRM_ERR_TAGS_NOT_IN_ORDER

The XML data that is maintained by the management service is invalid or cannot be processed.<114>

Additional IWRMRemoteSessionMgmt interface methods are specified in section 3.2.4.9.