i3gu
i3gu

Reputation: 45

Add permission in folder via SharePoint Web Services

Is it possible to add or update permission in folder or sub-folder in WSS 3.0 with Web Services?

Now, I created the folder inside list(document library) and the permission inherit from parent but I need to add new permission in folder inside list.

The /_vti_bin/permissions.asmx not allow to add permission in folder level.

How should I do?

Thanks,

Upvotes: 3

Views: 4581

Answers (3)

jordie91
jordie91

Reputation:

maybe you have something on the following information

public void AddPermission // you can use this for adding permissions in a web site i think you can use it on a sharepoint to but i dont know it for sure ( string objectName, string objectType, string permissionIdentifier, string permissionType, int permissionMask )

Upvotes: 0

Nagendra
Nagendra

Reputation: 338

The AddPermissions method of the Permissions Web Service can only be used to add Permissions to a Site or a List and NOT for the folder inside a List. For more clarity check the Microsoft documentation on Permissions.AddPermissions Web Method.

Upvotes: 4

Colin
Colin

Reputation: 10638

Yes, just go to the Manage Permissions in the Folder's context menu. Then on the manage permissions page select Edit Permissions, it will break the inheritance, then you can add / remove groups to the folder.

Upvotes: 0

Related Questions