Change the User Access Permissions on a Shared Folder by SID


Updated: October 9, 2012

Applies To: Windows Server 2012 Essentials

Modifies the access permissions of a user on a shared folder by specifying a security identifier.

POST services/builtin/StorageManagement.svc/serverfolder/{id}/modify/usersid/{userSid}/permission/{permission}?name={name}&description={description}

The identifier of the shared folder.

The security identifier (SID) of a user.

The permission level. Use one of the following values:

Enumeration Value NameValueMeaning
None0No access.
ReadOnly1Read-only access.
Full2Read/write access.
Other3Unknown or unspecified access.

The name of the shared folder.

A description for the shared folder.

Content-Type: application/xml  
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