[This is preliminary documentation and is subject to change.]
Renames the the name of a particular group, organization or department.
Namespace:
OfficeClip.DBLayer.AccountAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public int ChangeName( string groupName, int groupId ) |
Visual Basic (Declaration) |
---|
Public Function ChangeName ( _ groupName As String, _ groupId As Integer _ ) As Integer |
Visual C++ |
---|
public: int ChangeName( String^ groupName, int groupId ) |
Parameters
- groupName
- Type: System..::.String
The new name of the group which needs to be assigned to a particular group.
- groupId
- Type: System..::.Int32
Id of the group which needs to be renamed.
Return Value
0 if successful, -1 if the new name being assigned is already taken up by another group or organization or another department within the same organization.
Remarks
Please note that the same name can be assigned to a department of a different organization or another way of saying this would be that two different organizations can have departments with the same name.