Execute Dynamic role rule in signon peoplecode
Forum » Forum / General » Execute Dynamic role rule in signon peoplecode
Started by: Velu (guest)
Date: 15 Apr 2015 22:16
Number of posts: 3
rss icon RSS: New posts
I am in the process of exposing Self service over the internet. So i am going to find the ipaddress range and depend upon that assigning roles dynamically to the user . So user will be able to see only ESS over the internet. I have written the peoplecode but it seems not working. Function AssignExampleRole() Local string &sOprid; local string &ipaddr; &ipaddr=%request.reoteaddr; if &ipaddr="" then &userid=%userid; %RoleDynamicMembers.Push(&sOprid); end-if; End-Function; Will this code work. When i run the test rule in dynamic members, it gave result...when i execute the rule it fails with an error it returns an error "SQL.Fetch: object isn't open on a select" An i gave this code in signon peoplecode it never executes...
New Post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License