BuiltInRole Enumeration

BuiltInRole Enumeration

Indicates the type of role to check when calling the IsInRole method.

Namespace:  Microsoft.VisualBasic.ApplicationServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

[TypeConverterAttribute(typeof(BuiltInRoleConverter))]
public enum BuiltInRole

Member nameDescription
AccountOperatorAccount operators manage the user accounts on a computer or domain.
AdministratorAdministrators have complete and unrestricted access to the computer or domain.
BackupOperatorBackup operators can override security restrictions for the sole purpose of backing up or restoring files.
GuestGuests are more restricted than users.
PowerUserPower users possess most administrative permissions with some restrictions. Thus, power users can run legacy applications, in addition to certified applications.
PrintOperatorPrint operators can take control of a printer.
ReplicatorReplicators support file replication in a domain.
SystemOperatorSystem operators manage a particular computer.
UserUsers are prevented from making accidental or intentional system-wide changes. Thus, users can run certified applications, but not most legacy applications.

This enumeration provides functionality similar to the WindowsBuiltInRole enumeration.

These roles represent the local Windows groups common to most installations of Windows.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Reference

Microsoft.VisualBasic.ApplicationServices.BuiltInRole

Other Resources

Community Additions

ADD
Show:
© 2016 Microsoft