Redigera

Dela via


__SystemSecurity::Get9XUserList method

The __SystemSecurity::Set9XUserList method gets 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.

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 Get9XUserList(
  [out] __NTLMUser9X ul[]
);

Parameters

ul [out]

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 Get9XUserList. For scripting and Visual Basic applications, the result can be OutParameters.ReturnValue. For more information, see Constructing InParameters Objects and Parsing OutParameters Objects.

WBEM_E_METHOD_DISABLED

This method is not supported on supported versions of Windows.

Requirements

Requirement Value
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