adTempus API
ArcanaDevelopment.adTempus.Client Namespace / DataContext Class / CanPerformOnObject Method
The OID of the object to check permission for.
The security action requested.


In This Topic
    CanPerformOnObject Method
    In This Topic
    Determines whether the caller can perform the specified action on the specified object.
    Syntax
    'Declaration
     
    
    Public Function CanPerformOnObject( _
       ByVal oid As OID, _
       ByVal action As SecurityPermission _
    ) As Boolean
    public bool CanPerformOnObject( 
       OID oid,
       SecurityPermission action
    )
    public:
    bool CanPerformOnObject( 
       OID^ oid,
       SecurityPermission action
    ) 

    Parameters

    oid
    The OID of the object to check permission for.
    action
    The security action requested.

    Return Value

    True if the user can perform the requested action or False otherwise.
    See Also