ASPX templates
Version 5.x > ASPX templates > user information related questions View modes: 
User avatar
Member
Member
mickey-invision - 1/8/2010 6:08:34 PM
   
user information related questions
1. How do I relate a user to a document? (not in terms of permissions, but as in, this document is linked to this user)
2. How do retrieve all documents that a user is linked to.
3. How do retrieve all document a user has permissions to read..

All this must be done through the API

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/13/2010 3:08:09 AM
   
RE:user information related questions
Hi,

1) You can set the document owner - but here you can set only one user. Second option is to add a special field to the document types where you will list the users - some kind of user selector.

2) You can use WHERE condition in the web parts, or you can use repeater with custom query where you will build custom SQL query with WHERE condition which will meet your needs.

3) You will need check each document and its permissions in a cycle, using our API.


Best Regards,
Juraj Ondrus