Remove Group Member

API Type

Web Services

Description

Removes a member from a group.

Syntax

public virtual void RemoveGroupMember(string GroupName, string UserName)

Parameters

Name Description

GroupName

Definition:
Specifies the name of a group.
Type
string
Allowed Values:
A valid group name.

UserName

Definition:
The user name for the user.
Type
string
Allowed Values:
A valid user name for a registered AgilePoint user.

Output

None.

Example

IWFAdminService svc = GetAdminService();
string GroupName = ...// for examples, "Engineers"
string UserName = ...// for example, @"VIT\ct-002"

try
	{
    svc.RemoveGroupMember(GroupName, UserName);
	}

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

Supported Versions

3.2.0.4 and higher