Remove a Standard User
Applies To: Windows Server 2012 Essentials
Removes a standard user.
URI Template
POST services/builtin/UserManagement.svc/user/{userSID}/delete
{userSID}
The security identifier (SID) of a user.
Sample Request
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
Sample Response
HTTP/1.1 200 OK
Error Codes
Error Code | Error Message |
---|---|
400 | One or more parameters are not valid. |
401 | Access is denied to the requested resource. |
404 | The path does not exist. |