Remove Role

API Type

Web Services

Description

Removes a role from the AgilePoint system.

Syntax

public virtual void RemoveRole(string roleName)

Parameters

Name Description

roleName

Definition:
The name of a role.
Type
string
Allowed Values:
A valid role name.

Output

None.

Example

IWFAdminService svc = GetAdminService();
string roleName = ...// for example, "Engineers"

try
	{
    svc.RemoveRole (roleName);
	}

catch (Exception ex)
	{
    Console.WriteLine("Failed! " + ShUtil.GetSoapMessage(ex));
	}

Supported Versions

3.2.0.4 and higher