Share via


GrantSrUserAccess method of the MSFT_WvrAdminTasks class

Grants the user all capabilities required to manage Storage Replica on a given computer.

Syntax

uint32 GrantSrUserAccess(
  [in] string  ComputerName,
  [in] string  UserName,
  [in] boolean IgnoreErrors
);

Parameters

ComputerName [in]

The name of the computer to grant access on.

UserName [in]

The name of the user to grant access to.

IgnoreErrors [in]

TBD

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