RemoveNamespaceAccessRights method of the MSFT_DfsNamespaceAccess class
Removes access permissions for a DFS folder for the specified users or groups.
uint32 RemoveNamespaceAccessRights( [in] string NamespacePath, [in] uint32 AccessType, [in] string AccountName );
The Universal Naming Convention (UNC) path of the DFS folder for which access is to be removed. The UNC path has a format of \\HostName\SharedName[\ObjectName]*, where:
- The HostName component represents either the host name of a server or the domain name of a domain that hosts resources.
- The SharedName component represents the share name or the name of the resource that is being accessed.
- Each ObjectName component represents the name of a directory on the resource that is being accessed.
The type of access to be removed for the users or groups on a DFS folder.
The right to view and enumerate the contents of a DFS folder.
An array that contains the names of users or groups for which access is to be removed.
|Minimum supported client
|Minimum supported server
||Windows Server 2012