sharepoint - Permission class in InfoPath C# -


i new infopath sharepoint 2010. trying set permissions of infopath form if checkbox checked in form, user groups in sharepoint can view form. however, have found little documentation online permission class , no example code. have example code post or links sites have information permission class?

just incase, here code have far:

            string chkbox = getnodevalue("/my:mytiplead/my:obdm/my:documentdesignation/my:allcisol1and2members");             if (chkbox == "allcisol1and2members")             {              } 

edit: if has info on of other sharepoint/infopath classes accomplish assigning permission levels specific form, love hear it.

i needed permissions on infopath form based on group membership, unable find way. here's closest found.

it suggests might create sharepoint list emulate role/permission you're going use in infopath. drawback need maintain security in 2 places. retrieving 'permission' sharepoint list becomes possible in infopath.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -