次の方法で共有


RevokeSrUserAccess method of the MSFT_WvrAdminTasks class

Revokes capabilities required for the user to manage Storage Replica on a given computer.

Syntax

uint32 RevokeSrUserAccess(
  [in] string  ComputerName,
  [in] string  UserName,
  [in] boolean RemoveFromRemoteManagementUsersGroup
);

Parameters

ComputerName [in]

The name of the computer.

UserName [in]

The name of the user to revoke access.

RemoveFromRemoteManagementUsersGroup [in]

true to remove the user from the group; otherwise, false.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\StorageReplica
MOF
Wvrcimprov.mof
DLL
Wvrcimprov.dll

See also

MSFT_WvrAdminTasks