[This is preliminary documentation and is subject to change.]
Updates the database from the created object
Namespace:
OfficeClip.DBLayer.ServiceAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public OCServiceReturnStatus UpdateDb( int groupId, int roleId, int userId, OCRole ocr, OCServiceImportPolicy policy ) |
Visual Basic (Declaration) |
---|
Public Function UpdateDb ( _ groupId As Integer, _ roleId As Integer, _ userId As Integer, _ ocr As OCRole, _ policy As OCServiceImportPolicy _ ) As OCServiceReturnStatus |
Visual C++ |
---|
public: OCServiceReturnStatus UpdateDb( int groupId, int roleId, int userId, OCRole^ ocr, OCServiceImportPolicy policy ) |
Parameters
- groupId
- Type: System..::.Int32
unique id of the current group
- roleId
- Type: System..::.Int32
The unique id of the role to be updated
- userId
- Type: System..::.Int32
The id of the current user
- ocr
- Type: OfficeClip.BusinessLayer.Service..::.OCRole
The OfficeClip Service Role Object
- policy
- Type: OfficeClip.Utils..::.OCServiceImportPolicy
The update policy