[This is preliminary documentation and is subject to change.]
Creates a new group or organization.
Namespace:
OfficeClip.DBLayer.AccountAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public int CreateGroup( string groupName, int tzId, ConfigureInfo session, bool isSendEmail ) |
Visual Basic (Declaration) |
---|
Public Function CreateGroup ( _ groupName As String, _ tzId As Integer, _ session As ConfigureInfo, _ isSendEmail As Boolean _ ) As Integer |
Visual C++ |
---|
public: int CreateGroup( String^ groupName, int tzId, ConfigureInfo^ session, bool isSendEmail ) |
Parameters
- groupName
- Type: System..::.String
Name of the new group or organization.
- tzId
- Type: System..::.Int32
Id of the timezone to which the group belongs.
- session
- Type: OfficeClip.Utils..::.ConfigureInfo
The current login session
- isSendEmail
- Type: System..::.Boolean
Is the email supposed to be sent
Return Value
If of the newly created group, -1 in case a group or organization with the same name already exists, -2 in case the group type is not Group or organization.
Remarks
This method should not be called for creation of
a department or address book. It will return an error in that case.