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)


Protected Overridable Function RequireUserMachineAdmin As Boolean
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


SPCmdlet Class

SPCmdlet Members

Microsoft.SharePoint.PowerShell Namespace