Discuss this help topic in SecureBlackbox Forum

TElBoxCollaborations.Add

TElBoxCollaborations     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Adds a new collaboration.

Declaration

[VB.NET]
    Function Add(ByVal Group As TElBoxGroupInfo, ByVal Role As TSBBoxCollaborationRole, ByVal Notify As Boolean) As TElBoxCollaboration
    Function Add(ByVal User As TElBoxUserInfo, ByVal Role As TSBBoxCollaborationRole, ByVal Notify As Boolean) As TElBoxCollaboration
    Function Add(ByVal UserLogin As String, ByVal Role As TSBBoxCollaborationRole, ByVal Notify As Boolean) As TElBoxCollaboration

[Pascal]
    function Add(Group: TElBoxGroupInfo; Role: TSBBoxCollaborationRole; Notify: Boolean): TElBoxCollaboration;
    function Add(User: TElBoxUserInfo; Role: TSBBoxCollaborationRole; Notify: Boolean): TElBoxCollaboration;
    function Add(const UserLogin: string; Role: TSBBoxCollaborationRole; Notify: Boolean): TElBoxCollaboration;

[PHP]
    TElBoxCollaboration Add(TElBoxGroupInfo $Group, integer $Role, bool $Notify)
    TElBoxCollaboration Add(TElBoxUserInfo $User, integer $Role, bool $Notify)
    TElBoxCollaboration Add(string $UserLogin, integer $Role, bool $Notify)

Parameters

  • Group - the group which the new collaboration applies to.
  • Role - the role of the user or group.
  • Notify - specifies whether users hsould be notified about the new collaboration.
  • User - the user who the new collaboration applies to.
  • UserLogin - the login of the user who the new collaboration applies to.

TSBBoxCollaborationRole values:

Return value

    Returns a reference to the newly created collaboration object.

Description

    Use this method to add a new collaboration to the list.

See also:     IndexOf     Item    

Discuss this help topic in SecureBlackbox Forum