Quantcast
Channel: DevNet Questions
Viewing all articles
Browse latest Browse all 8901

Update User Roles Valid To Date

$
0
0
hi there, I've been trying to update the user's existing role 's validity, I am able to get role and set the validity but for some reason it's not being saved. if (newUserRole != null) { newUserRole.ValidTo = newValidity; UserRoleInfoProvider.SetUserRoleInfo(newUserRole); } I have tried newUserRole.Update() as well, any help would be much appreciated.

Viewing all articles
Browse latest Browse all 8901

Trending Articles