RemoveUserFromRole Method

The RemoveUserFromRole method of the Users and Groups service removes the specified user from the specified site group.

Parameters

roleName   A string that contains the name of the site group.

userLoginName   A string that contains the user name (DOMAIN\User_Alias) of the user.

Example

The following code example removes the specified user from a site group.

Requirements

Platforms: Microsoft Windows Server 2003

Web Reference: http://Server_Name/[sites/][Site_Name/]_vti_bin/UserGroup.asmx