UserPrivilege Enumeration
Indicates to which group the user belongs.
Namespace: Microsoft.Hpc.Scheduler.Properties
Assembly: Microsoft.Hpc.Scheduler.Properties (in Microsoft.Hpc.Scheduler.Properties.dll)
Namespace: Microsoft.Hpc.Scheduler.Properties
Assembly: Microsoft.Hpc.Scheduler.Properties (in Microsoft.Hpc.Scheduler.Properties.dll)
[GuidAttribute("FC865149-5068-4561-AB00-9BF8CEE7EC40")] [ComVisibleAttribute(true)] public enum UserPrivilege
/** @attribute GuidAttribute("FC865149-5068-4561-AB00-9BF8CEE7EC40") */
/** @attribute ComVisibleAttribute(true) */
public enum UserPrivilege
GuidAttribute("FC865149-5068-4561-AB00-9BF8CEE7EC40") ComVisibleAttribute(true) public enum UserPrivilege
| Member name | Description |
|---|---|
| AccessDenied | The user has no access privileges (the user does not belong to the Administrators group or Users group). This enumeration member represents a value of 0. |
| Admin | The user belongs to the Administrators group on the head node. This enumeration member represents a value of 2. |
| User | The user belongs to the Users group on the head node. This enumeration member represents a value of 1. |
To schedule jobs, the user must belong to the Administrators group or Users group. To run commands, the user must belong to the Administrators group.
To use this enumeration in Visual Basic Scripting Edition (VBScript), you need to use the numeric values for the enumeration members or create constants that correspond to those members and set them equal to the numeric values. The following code example shows how to create and set constants for this enumeration in VBScript.
const AccessDenied = 0 const User = 1 const Admin = 2
Development Platforms
Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012Target Platforms
Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, with HPC Pack Client Utilities
Build Date:
Community Additions
ADD
Show: