[This is preliminary documentation and is subject to change.]
Adds new security information in the database that corresponds to this object
Namespace:
OfficeClip.DBLayer.ServiceAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public OCServiceReturnStatus AddNewDb( int groupId, int userId, OCSecurity sec ) |
Visual Basic (Declaration) |
---|
Public Function AddNewDb ( _ groupId As Integer, _ userId As Integer, _ sec As OCSecurity _ ) As OCServiceReturnStatus |
Visual C++ |
---|
public: OCServiceReturnStatus AddNewDb( int groupId, int userId, OCSecurity^ sec ) |
Parameters
- groupId
- Type: System..::.Int32
The unique id of the current group
- userId
- Type: System..::.Int32
The unique id of the current user
- sec
- Type: OfficeClip.BusinessLayer.Service..::.OCSecurity
The security to be added to the database