I’m using the User Provisioning API to add a large number of users into my ownCloud Instalation. Each user is assigned to a UserGroup and I wanted to Group all user files inside a directory with the same name of the group.
Example:
User1 is added to group Services
I want that, in the creation of the User1, it’s folder path to be something like:
/path/to/owncloud/data/Services/User1
and if an User2 is added to group Finance that the mounting point for User2 be like:
/path/to/owncloud/data/Finance/User2
TLDR
Can I change the storage directory by usergroup?
Can I change the directory at all?