[This is preliminary documentation and is subject to change.]
Updates a role name.
Namespace:
OfficeClip.DBLayer.SecurityAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public DBConstants..::.ReturnValue UpdateRole( bool isChained, int roleId, int userId, string roleName, string description ) |
Visual Basic (Declaration) |
---|
Public Function UpdateRole ( _ isChained As Boolean, _ roleId As Integer, _ userId As Integer, _ roleName As String, _ description As String _ ) As DBConstants..::.ReturnValue |
Visual C++ |
---|
public: DBConstants..::.ReturnValue UpdateRole( bool isChained, int roleId, int userId, String^ roleName, String^ description ) |
Parameters
- isChained
- Type: System..::.Boolean
Shows if the role is a part of the transaction
- roleId
- Type: System..::.Int32
The unique id of the role that needs to be updated
- userId
- Type: System..::.Int32
The unique id of the current logged in user
- roleName
- Type: System..::.String
The name of the new role
- description
- Type: System..::.String
The description of the role