RoleProxy AddRole Method (String, String, String,  String ) CelloSaaS API Documentation
Adds a new role to the system.

Namespace: CelloSaaS.BusinessEdition.ServiceProxies.AccessControlManagement
Assembly: CelloSaaS.BusinessEdition (in CelloSaaS.BusinessEdition.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax

public static string AddRole(
	string tenantCode,
	string roleName,
	string description,
	string[] serviceIds
)

Parameters

tenantCode
Type: System String
Tenant Code
roleName
Type: System String
Role Name(Mandatory)
description
Type: System String
Role Description
serviceIds
Type:  System String 
The service ids.

Return Value

Type: String
Inserted Role Id
Exceptions

ExceptionCondition
[!:CelloSaaS.ServiceContracts.AccessControlManagement.RoleException]If db exception occurs while adding the role.
See Also