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