removeMembership(authorityName) removes the specified user
from a web project.
Parameters
- authorityName
- A string representing the user name of the user to remove from membership of the site.
Returns
void
Example
var site = siteService.getSite("swsdp"); if(site){ var authorityName = "joe.user"; site.removeMembership(authorityName); ... }