Partager via


IsCurrentUserMachineAdmin Method

The IsCurrentUserMachineAdmin method of the SPGlobalAdmin class returns a Boolean value that indicates whether the current user is a member of the local administrators group for the computer running Microsoft Windows SharePoint Services.

Return Value

true if the current user is a member of the local administrators group; otherwise, false.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security