adTempus API
ArcanaDevelopment.adTempus.Client Namespace / DataContext Class / CanCreateObject Method / CanCreateObject(ClassID,OID) Method
The Class ID.
The OID of the parent object, if any. See Remarks.


In This Topic
    CanCreateObject(ClassID,OID) Method
    In This Topic
    Indicates whether the caller has permission to create objects of the specified class.
    Syntax
    'Declaration
     
    
    Public Overloads Function CanCreateObject( _
       ByVal cid As ClassID, _
       ByVal parentOID As OID _
    ) As Boolean
    public bool CanCreateObject( 
       ClassID cid,
       OID parentOID
    )
    public:
    bool CanCreateObject( 
       ClassID cid,
       OID^ parentOID
    ) 

    Parameters

    cid
    The Class ID.
    parentOID
    The OID of the parent object, if any. See Remarks.

    Return Value

    True if the caller has permission to create objects of the class, or False otherwise.
    Remarks
    For a Job or JobGroup the OID of the parent JobGroup must be specified in parentOID, because permission to create depends on permission to create within the parent Group.For a Job or JobGroup the OID of the parent JobGroup must be specified in parentOID, because permission to create depends on permission to create within the parent Group.
    See Also