Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

How to give user a permission for limited duration

$
0
0

Hi guys,

As the title says, I need a way to crate a functionality where an admin user can give permission to user till a specific duration. For instance, User A has been given a permission to access a document for next 3 days. After that duration, the permission would be revoked and won't allow the user to access that particular document.

I've thought of a list having document name, with user name who will have access and the time the permission would expire. A timer job will run every night and checks for the expiry in that given list and remove permission when the expiry date occurs. 

Please suggest if this sounds good or if there's an OOB way to achieve this.

Thanks,

Kashif


Thanks, Kashif


Viewing all articles
Browse latest Browse all 25064

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>