JAMS Developer Guide
HasAccess Method (Access)


MVPSI.JAMS Namespace > Access Class : HasAccess Method
A AccessObject which identifies the type of object that you want to access.
The access desired.
The JAMS Server you want to access.
Checks access to the specified object types.
Syntax
'Declaration
 
Public Shared Function HasAccess( _
   ByVal accessObject As AccessObject, _
   ByVal objectAccess As ObjectAccess, _
   ByVal js As Server _
) As System.Boolean
'Usage
 
Dim accessObject As AccessObject
Dim objectAccess As ObjectAccess
Dim js As Server
Dim value As System.Boolean
 
value = Access.HasAccess(accessObject, objectAccess, js)
public static System.bool HasAccess( 
   AccessObject accessObject,
   ObjectAccess objectAccess,
   Server js
)

Parameters

accessObject
A AccessObject which identifies the type of object that you want to access.
objectAccess
The access desired.
js
The JAMS Server you want to access.

Return Value

Returns true if you have access
Requirements

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

See Also

Reference

Access Class
Access Members