BuiltInRole Enumeration

Note: This enumeration is new in the .NET Framework version 2.0.

Indicates the type of role to check when calling the My.User.IsInRole Method.

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

public enum BuiltInRole
public enum BuiltInRole
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. 

For more detailed information, see the Visual Basic topic BuiltInRole Enumeration.

This enumeration provides functionality similar to the WindowsBuiltInRole enumeration.

These roles represent the local Windows groups common to most installations of Windows NT, Windows 2000, and Windows XP.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0