[This is preliminary documentation and is subject to change.]
Inserts a new role to a particular group.
Namespace:
OfficeClip.DBLayer.SecurityAssembly: OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0
Syntax
C# |
---|
public int InsertRole( int groupId, int userId, string roleName, string description ) |
Visual Basic (Declaration) |
---|
Public Function InsertRole ( _ groupId As Integer, _ userId As Integer, _ roleName As String, _ description As String _ ) As Integer |
Visual C++ |
---|
public: int InsertRole( int groupId, int userId, String^ roleName, String^ description ) |
Parameters
- groupId
- Type: System..::.Int32
The unique id of the group where the role name is to be inserted
- userId
- Type: System..::.Int32
The unique id of the current logged in user
- roleName
- Type: System..::.String
The name of the role
- description
- Type: System..::.String
The description of the role