UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:lmaccess.NetAccessAdd |
NetAccessAdd function (lmaccess.h) |
Not supported. (NetAccessAdd) |
|
netmgmt\netaccessadd.htm |
NetMgmt |
54b78f1d-53d1-4cb8-99ba-51c3d6e6de0c |
12/05/2018 |
1, NetAccessAdd, NetAccessAdd function [Network Management], _win32_netaccessadd, lmaccess/NetAccessAdd, netmgmt.netaccessadd |
lmaccess.h |
Lm.h, Lmaccess.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
Netapi32.lib |
Netapi32.dll |
Windows |
19H1 |
|
|
|
|
|
|
[This function is obsolete. For a list of alternate functions, see Authorization Functions.]
Not supported.
The NetAccessAdd function creates a new access control list (ACL) for a resource.
Pointer to a string that specifies the DNS or NetBIOS name of the remote server on which the function is to execute. If this parameter is NULL, the local computer is used.
Specifies the information level of the data. This parameter can be the following value.
Value | Meaning |
---|---|
|
The pbBuffer parameter points to an access_info_1 structure. |
Pointer to the buffer that contains the access information structure.
Specifies the size, in bytes, of the buffer pointed to by the pbBuffer parameter.
If the function succeeds, the return value is NERR_Success.
If the function fails, the return value is a system error code. For a list of error codes, see System Error Codes.
This function requires User level security to be enabled.