IClusterService.IsInRole Method
This method supports the infrastructure and is not intended to be used directly from your code.
Determines whether the calling user is in a particular role, for example, the BUILTIN\\Administrators role.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Usage
Syntax
'Declaration
Function IsInRole ( _
role As String _
) As Boolean
bool IsInRole (
string role
)
bool IsInRole (
String^ role
)
boolean IsInRole (
String role
)
function IsInRole (
role : String
) : boolean
Parameters
- role
The role to check.
Return Value
Is true if user is in the role; otherwise, false.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP
Target Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities
See Also
Reference
IClusterService Interface
IClusterService Members
Microsoft.ComputeCluster Namespace