Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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)
'Usage
Dim instance As UserPrivilege

[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 nameDescription
AccessDeniedThe 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.
AdminThe user belongs to the Administrators group on the head node. This enumeration member represents a value of 2.
UserThe 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 2012

Target 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:

2013-04-22
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.