Remove a Standard User

 

Updated: October 9, 2012

Applies To: Windows Server 2012 Essentials

Removes a standard user.

POST services/builtin/UserManagement.svc/user/{userSID}/delete

{userSID}
The security identifier (SID) of a user.

POST https://www.contoso.com/services/builtin/UserManagement.svc/user/S-1-5-21-2262141087-2005479377-3694225243-1119/delete HTTP/1.1  
Accept: application/xml  
Cookie: ASP.NET_SessionId=********************  
Canary: *********************  
Host: domainname  
Content-Length: 0  

HTTP/1.1 200 OK  

Error CodeError Message
400One or more parameters are not valid.
401Access is denied to the requested resource.
404The path does not exist.

Web Service Methods

Community Additions

ADD
Show: