Share via


SPServer.GrantVssAccess method

Grants the account access to run a VSS writer by adding it to VssAccessControl registry key.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Sub GrantVssAccess ( _
    account As String _
)
'Usage
Dim account As StringSPServer.GrantVssAccess(account)
public static void GrantVssAccess(
    string account
)

Parameters

Remarks

If the VssAccessControl registry key does not exist, this operation will also create a VssAccessControl key.

See also

Reference

SPServer class

SPServer members

Microsoft.SharePoint.Administration namespace