method IsPermission | |
Syntax: | VARIANT_BOOL*pVal = object.IsPermission ( ProjectName, bitMask ) |
Parameters: |
ProjectName
As String -
bitMask As
TrkBitMaskEnum -
|
Description: | The IsPermission method indicates whether a specific security bit is TRUE giving the user access. A return value of TRUE indicates the user has access. Example: Dim oTrkItemAgent As Object Dim oTrkSession As Object Dim oTrkItems As Object Set oTrkItemAgent =
CreateObject("Tracker.TrkItemAgent") Set oTrkSession =
CreateObject("Tracker.TrkSession") if(oTrkSession.IsPermission("PA1", 2)) then oTrkSession.SessionTimeout = "January 21, 2005" End If oTrkSession.CloseAllSession |