Limiting upload file size according to document type field/user role

Yehuda Lando asked on May 22, 2014 17:27


One of the requirements I got for my current size is that when a certain user uploads a file it will be limited to a certain size. I know of the web.config property to limit it, but I'd like to limit it only for a certain field or for a certain user/user role. Is this possible in any way?


Recent Answers

jack Ryder answered on May 23, 2014 06:45

Yes you can but for that you have to write Custom code(using service call using ajax call) like as first check the current user role and use web services for Upload images based on role and in that you can define size of image upload...make common function for that.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.