XModPro

How to add user to role for certain period?

Warranty Mate Warranty Mate asked Oct 2, 2016
Active Oct 19 · Viewed 2159 times
<p>Hi,</p><p>Ive tried various attempts including&nbsp;StartDate='[[DateAdd:]]',&nbsp;StartDate='[[DateAdd:0,y,yyyy-MM-dd]]'</p><p>&lt;AddToRoles RoleNames="Role A" UserId='[[UserID]]' StartDate='[[DateAdd:0,y,yyyyMMdd]]' EndDate='[[DateAdd:1,y,yyyyMMdd]]' /&gt;</p><p>when i execute form i get error message "invalid start date specified"</p>

1 Answer

Loading answers...