Share via


RevokeAccess method of the MSFT_SMFileShare class

Revokes access to the file share for the specified users.

Syntax

UInt32 RevokeAccess(
  [in]            string                AccountNames[],
  [out, optional] MSFT_SMExtendedStatus ExtendedStatus
);

Parameters

AccountNames [in]

TBD

ExtendedStatus [out, optional]

An MSFT_SMExtendedStatus object containing the results of calling this method.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\Storage\SM
MOF
MsftStrgMan.mof
DLL
StorageService.dll

See also

MSFT_SMFileShare