Set9XUserList method
Collapse the table of content
Expand the table of content

__SystemSecurity::Set9XUserList method

The __SystemSecurity::Set9XUserList method sets the remote access rights for a list of individual users on computers running obsolete versions of Windows, where access control through Windows security descriptors is not available.

The list is specified as an array of embedded objects where each object is an instance of the __NTLMUser9X class. This functions similar to the security descriptor, but it is more limited. Groups are not supported and there is no control over local access, because the local user always has full access. Both deny and allow access control entries (ACE) are permitted, and because of this, the ACE order is important in the discretionary access control list (DACL). For more information, see Order of ACEs in a DACL.

Syntax


HRESULT Set9XUserList(
  [in] __NTLMUser9X ul[]
);

Parameters

ul [in]

Array of users.

Return value

This method returns an HRESULT that indicates the status of the method call. The following list lists the return values that are of significance to Set9XUserList. For scripting and Visual Basic applications, the result can be obtained from OutParameters.ReturnValue. For more information, see Constructing InParameters Objects and Parsing OutParameters Objects.

WBEM_E_METHOD_DISABLED

This method is not supported.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Namespace

all WMI namespaces

See also

WMI System Classes
__SystemSecurity
__SystemSecurity::GetSD
__SystemSecurity::SetSD
Win32_ACE
Win32_SecurityDescriptor
Securing WMI Namespaces
WMI Security Constants

 

 

Show:
© 2016 Microsoft