JAMS 6.x Help
Check Method (IAccessTools)


Check access to an object, throws an exception if access is denied.
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Sub Check( _
   ByVal objType As AccessObject, _
   ByVal accessDesired As ObjectAccess _
) 
'Usage
 
Dim instance As IAccessTools
Dim objType As AccessObject
Dim accessDesired As ObjectAccess
 
instance.Check(objType, accessDesired)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
void Check( 
   AccessObject objType,
   ObjectAccess accessDesired
)

Parameters

objType
accessDesired
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

IAccessTools Interface
IAccessTools Members