I'm trying to set the email Folder Subscription on folder creation, using a third party app.
The application checks if home folder exists for a given user and creates the folder if it doesn't, using the system account. I've got code that removes read and write access from the UserRol and sets Read and Write access to only the user. What I want to do is to set the folder subscription to true for that particular user, is this possible?
So what I want to happen for example:
User 1000 logs in for the first time.
The folder okm:root\1000 is created using the system account
UserRol group has read and write access removed
1000 has read and write access added
1000 is then subscribed to email notification on that folder
I've got everything sorted except the last bit. Is it possible to do this?
Re:Email Folder Subscription 3 Months, 2 Weeks ago
Karma: 0
Hi, Yes we are using web services. The idea is to use it as an online repository for files sent from another application, and we have the username and password thing modified to check the other app for logon details.
However, this means that none of our users specifically have logon details setup in openkm. We've found this isn't a problem for assigning folder permissions, I assume it won't be a problem for changing the notification settings?
So how would I go about using the notification api?
Sorry, I'm pretty new to this sort of thing. How would I call that? Do I need to include it in a reference in my program, or is it just not possible using web services until the next version?