Share/UnShare Deluge task

Share/UnShare Deluge task

I need to implement following: by creating new user in my application, automatically share existing application and another application to him.

I know I can use share application(User.email)

but it will only share current application. Can I somehow share another application to that user?