IUserManagerAddRole Method
|
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxIGroupRole AddRole(
string name,
IUserRights permissions
)
Function AddRole (
name As String,
permissions As IUserRights
) As IGroupRole
IGroupRole^ AddRole(
String^ name,
IUserRights^ permissions
)
abstract AddRole :
name : string *
permissions : IUserRights -> IGroupRole Parameters
- name String
- Name of the Group Role
- permissions IUserRights
- Permission for the role
Return Value
IGroupRoleThe
Group Role that was created.
Exceptions
Remarks
The new Group Role that was created was not yet saved to the Content Store. It will be saved when the Write Session is disposed.
See Also