Skip to content

Latest commit

 

History

History
92 lines (68 loc) · 3.18 KB

nf-lmdfs-netdfssetstdcontainersecurity.md

File metadata and controls

92 lines (68 loc) · 3.18 KB
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:lmdfs.NetDfsSetStdContainerSecurity
NetDfsSetStdContainerSecurity function (lmdfs.h)
Sets the security descriptor for the container object of the specified stand-alone DFS namespace.
NetDfsSetStdContainerSecurity
NetDfsSetStdContainerSecurity function [Distributed File System]
dfs.netdfssetstdcontainersecurity
fs.netdfssetstdcontainersecurity
lmdfs/NetDfsSetStdContainerSecurity
netmgmt.netdfssetstdcontainersecurity
dfs\netdfssetstdcontainersecurity.htm
Dfs
bc408a12-5106-45a0-bbed-0468d51708bc
12/05/2018
NetDfsSetStdContainerSecurity, NetDfsSetStdContainerSecurity function [Distributed File System], dfs.netdfssetstdcontainersecurity, fs.netdfssetstdcontainersecurity, lmdfs/NetDfsSetStdContainerSecurity, netmgmt.netdfssetstdcontainersecurity
lmdfs.h
LmDfs.h, Lm.h
Windows
Windows Vista
Windows Server 2008, Windows Server 2008
Netapi32.lib
Netapi32.dll
Windows
19H1
NetDfsSetStdContainerSecurity
lmdfs/NetDfsSetStdContainerSecurity
c++
APIRef
kbSyntax
DllExport
Netapi32.dll
NetDfsSetStdContainerSecurity

NetDfsSetStdContainerSecurity function

-description

Sets the security descriptor for the container object of the specified stand-alone DFS namespace.

-parameters

-param MachineName [in]

The name of the stand-alone DFS root's host machine. Pointer to a string that specifies the name of the server that hosts the stand-alone DFS namespace.

-param SecurityInformation [in]

SECURITY_INFORMATION structure that contains bit flags that indicate the type of security information to set on the root object.

-param pSecurityDescriptor [in]

Pointer to a SECURITY_DESCRIPTOR structure that contains the security attributes to set as specified in the SecurityInformation parameter.

-returns

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.

-remarks

The security descriptor is set for the object specified by the HKLM\Software\Microsoft\Dfs\Standalone key in the registry of the server specified in the MachineName parameter.

-see-also

Distributed File System (DFS) Functions

Network Management Functions

Network Management Overview