Compartilhar via


SPCmdlet.RequireUserMachineAdmin Method

Specifies whether a cmdlet needs administrator privileges on the computer on which it executes.

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

Syntax

'Declaration
Protected Overridable Function RequireUserMachineAdmin As Boolean
'Usage
Dim returnValue As Boolean

returnValue = Me.RequireUserMachineAdmin()
protected virtual bool RequireUserMachineAdmin()

Return Value

Type: System.Boolean
Returns Booleantrue if the cmdlet requires administrator privileges to execute. The default is false.

See Also

Reference

SPCmdlet Class

SPCmdlet Members

Microsoft.SharePoint.PowerShell Namespace