You can get the roles, but you can get the user's role

You can display or hide items dependant on the roles of the logged in user is affected too.

I know you can do this for the menu using menu.json

'visible': true,

'applyIf': {}

'userHasRoles': ['administrators']

But what about other elements inside the app. Is there a way to get the roles for the logged-on user.

Is this lack as a feature or am I missing some pieces.

Hey,.

Not at the moment.

Talked to the BC guys on this subject with some stuff from varius, they understand the need. Don't know when things will be implemented for us, they're looking to Admin tags or API options etc. for this and a few other bits.

Tags: Business Catalyst

Similar Questions

  • Somehow, I blocked my user account (login) and I tried to help but can't find any info. How to UNLOCK the user account. Than k you

    The user has clicked on Vista, the little lock at the bottom of the START window.

    Somehow, I blocked my user account (login) and I tried to help but can't find any info. How to UNLOCK the user account. Thank you

    Hello

    Click the account icon that was locked and enter the password IF you know and otherwise:

    Try Safe Mode - several times, press F8 that you start. The Admin account there is no default password
    so unless someone has changed, you should have access there. Then Control Panel - accounts - users
    Manage another account - use this down your user account (to the lowest level) APPLY/OK
    then go back and reset it to the Admin APPLY/OK - this clearly allows corruption. Do this several times.
    Then fix the password in your usual account. Do not forget to leave your account administrator if you
    wish.

    If no joy Mode without failure:

    Try this - use the hidden administrator account to lower your user account (to the lowest level) APPLY/OK
    then go back and reset it to the Admin APPLY/OK - this clearly allows corruption. Do this several times.
    Then fix the password in your usual account. Do not forget to leave your account administrator if you
    wish.

    Make another Admin account with your password and use it to fix the others if necessary. (just for
    repair, don't use regular account, not a safety valve) always keep a spare ADMIN account.

    DO NOT LEAVE THE ENABLED LSA OR USE DAILY. If it corrupts you are toast!

    How to enable or disable the real built-in Administrator account in Vista
    http://www.Vistax64.com/tutorials/67567-administrator-account.html

    You can run the Admin account hidden from the prompt by if necessary.

    This tells you how to access the System Recovery Options and/or a Vista DVD
    http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspx

    If you cannot access your old account, you can still use an Admin to migrate to another (do not forget to always
    not that an Admin account that is not used except for testing and difficulty).

    Difficulty of a corrupted user profile
    http://windowshelp.Microsoft.com/Windows/en-AU/help/769495bf-035C-4764-A538-c9b05c22001e1033.mspx

    ---------------------------------------------------------

    If necessary:

    Ophcrack is a free Windows password cracker based on rainbow tables.
    http://Ophcrack.sourceforge.NET/

    How to reset a Windows Vista - Trinity Rescue Kit method - password password reset disc - burn the ISO
    http://www.WikiHow.com/reset-a-Windows-Vista-password
    YouTube video on the use of the Trinity rescue Kit
    http://www.YouTube.com/results?search_query=Trinity+rescue+Kit&search_type=&AQ=f

    Reset your forgotten password the easy way using the Ultimate Boot CD for Windows
    http://www.howtogeek.com/HOWTO/Windows-Vista/reset-your-forgotten-password-the-easy-way-using-the-ultimate-boot-CD-for-Windows/

    Offline NT Password & Reset Editor
    http://home.eunet.no/~pnordahl/ntpasswd/

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • How can I get the user name of the current user? Not the name of the user, but the user name is connected to.

    Anyone know how I can get the username of the current user? Not the name of the user, but the user name is connected to.

    Thank you!

    Only two variables that Captivate allows to work with are cpQuizInfoStudentName and cpQuizInfoStudentID, but the latter is only really designed to be used for the internal information server, not a typical SCORM LMS solution.

    Sounds to me like you may need to get hands on with the services of a JavaScript programmer.

  • The IOM for Peoplesoft connector - you can copy a user?

    PeopleSoft inside there is a function copy of user profile that allows you to make an exact duplicate of the user, including security. We use this function when we change a user name (say someone marries).

    Has anyone found a way to make the IOM?

    Thank you.

    With the help of these imports:

    Psft.pt8.joa import. *;
    PeopleSoft.Generated.CompIntfc import. *;

    Connect

    >
    public Peoplesoft (String hostname, String port, String admin, String password) {}
    log.info (CLASS_NAME + "---> entries = hostname [" + hostname + "]")
    "] [] port" + port +.
    "] admin [] ' + admin +.
    "] password [*]"); "."
    This.HostName = hostname;
    This.port = port;
    This.admin = admin;
    This.password = password;
    this.strAppServerPath = hostname + ":" + port;
    Connect boolean = false;
    try {}
    Create the object of PeopleSoft Session *.
    oSession = API.createSession ();
         
    Connect to the App Server *.
    Connect = oSession.connect (1, strAppServerPath, admin, password, null);
    log. Debug ("login:" + connect);
    If (! connect) {}
    log. Error ("unable to connect to the application server.");
    ErrorHandler();
    return;
    }
                   
    } catch (Exception e) {}
    e.printStackTrace ();
    log. Error ("an error occurred");
    ErrorHandler();
    }

    log.info (CLASS_NAME "---> connect =" + connect);
         
    }
    >

    Creating user

    >
    public String createUser (String oprid, String oprdefndesc, String useridalias, String operpswd,
    String emplid, String emailid, String emailtype, String language_cd, String multilang_cd,
    String currencycode, String prpermissionlist, String rowpermissionlist,
    String processprofilelist, String navigatorhomelist) {}
    log.info (CLASS_NAME + ". createUser()---> entries = oprid [" + oprid + "]")
    '] oprdefndesc [] "+ oprdefndesc +.
    '] useridalias [] "+ useridalias +.
    '] operpswd [] ' + ' * ' +.
    '] emplid [] "+ emplid +.
    "] [] emailid" + emailid +.
    '] emailtype [] "+ emailtype +.
    '] language_cd [] "+ language_cd +.
    '] multilang_cd [] "+ multilang_cd +.
    "] [] currencycode" + currencycode +.
    '] prpermissionlist [] "+ prpermissionlist +.
    '] rowpermissionlist [] "+ rowpermissionlist +.
    '] processprofilelist [] "+ processprofilelist +.
    "] navigatorhomelist [" "+ navigatorhomelist +"] ");"
              
    String response = "";
    Boolean then = false;
              
    try {}
    Get the component Interface *.
    IUserProfile oUserProfile;
    String ciName;
    ciName = 'USER_PROFILE ';
    oUserProfile = oSession.getCompIntfc (ciName) (IUserProfile);
    If (oUserProfile == null) {}
    log. Error ("Can't get a component Interface" + ciName);
    ErrorHandler();
    response = "UNABLE_TO_GET_CI";
    } else {}
    Next = true;
    }
                   
    Set the Interface Mode of component *.
    oUserProfile.setInteractiveMode (false);
    oUserProfile.setGetHistoryItems (false);
    oUserProfile.setEditHistoryItems (false);
                   
    If {(next)
    Next = false;
    Boolean create = oUserProfile.create ();
    log. Debug ("Create:" + create);
    If (! create) {}
    ErrorHandler();
    response = "UNABLE_TO_CREATE";
    } else {}
    Next = true;
    }
    }
                   
    If {(next)
    Next = false;
    Define the component Interface Get/Create Keys *.
    oUserProfile.setUserID (oprid);
    oUserProfile.setUserDescription (oprdefndesc);
    oUserProfile.setUserIDAlias (useridalias);
    oUserProfile.setPrimaryPermissionList (prpermissionlist);
    oUserProfile.setRowSecurityPermissionList (rowpermissionlist);
    oUserProfile.setProcessProfilePermissionList (prpermissionlist);
    oUserProfile.setNavigatorHomePermissionList (navigatorhomelist);
    oUserProfile.setLanguageCode (language_cd);
    oUserProfile.setCurrencyCode (currencycode);
    If (multilang_cd.equals("0")) {}
    oUserProfile.setMultiLanguageEnabled (BigDecimal.valueOf (0));
    } else {}
    oUserProfile.setMultiLanguageEnabled (BigDecimal.valueOf (1));
    }
         
    If (emailid.trim () .length () == 0) {}
    If (emailtype.trim () .length () == 0) {}
    Set/Get EmailAddresses Collection field properties - Parent: PS_ROOT Collection
    IUserProfileEmailaddressesCollection oEmailAddressesCollection;
    IUserProfileEmailaddresses oEmailAddresses;
    oEmailAddressesCollection = oUserProfile.getEmailAddresses ();
    oEmailAddresses = oEmailAddressesCollection.item (0);
    oEmailAddresses.setEmailType (emailtype);
    oEmailAddresses.setEmailAddress (emailid);
    oEmailAddresses.setPrimaryEmail("Y");
    } else {}
    log. Debug ("emailtype is empty, not setting do not email address");
    }
    } else {}
    log. Debug ("emailid is empty, not setting do not email address");
    }
                        
         
    Set/Get IDTypes Collection field properties - Parent: PS_ROOT Collection
    IUserProfileIdtypesCollection oIDTypesCollection;
    IUserProfileIdtypes oIDTypes;
    oIDTypesCollection = oUserProfile.getIDTypes ();
    oIDTypes = oIDTypesCollection.item (0);
    If (emplid.trim () .length () == 0) {}
    oIDTypes.setIDType ('NO');
    } else {}
    oIDTypes.setIDType ("EMP");
    Set/Get attributes Collection field properties - Parent: IDTypes Collection
    IUserProfileIdtypesAttributesCollection oAttributesCollection;
    IUserProfileIdtypesAttributes oAttributes;
    oAttributesCollection = oIDTypes.getAttributes ();
    oAttributes = oAttributesCollection.item (0);
    oAttributes.setFieldname ("COST");
    oAttributes.setRecname ("PERSONAL_DATA");
    oAttributes.setAttributeName ("COST");
    oAttributes.setAttributeValue (emplid);
    }
                        
    oUserProfile.setSymbolicID ("SYSADM1");
    oUserProfile.setPassword (operpswd, operpswd);
    Boolean save = oUserProfile.save ();
    log. Debug ("Save:" + save);
                        
    If (! save) {}
    ErrorHandler();
    response = "UNABLE_TO_SAVE";
    } else {}
    response = "SUCCESS";
    }
    Next = true;
    }
                   
    Boolean cancel = oUserProfile.cancel ();
    log. Debug ("Cancel:" + cancel);
    If (! cancel) {}
    ErrorHandler();
    response = "UNABLE_TO_CANCEL";
    }

    } catch (JOAException e) {}
    e.printStackTrace ();
    log. Error ("an error occurred");
    ErrorHandler();
    response = "ERROR";
    }
              
    log.info (CLASS_NAME + ". createUser()---> response =" + response);
    send the response;
         
         
    }
    >

    Add a role

    >
    public String addRole (String oprid, String role) {}
    log.info (CLASS_NAME + ". addRole()---> entries = oprid [" + oprid + "]")
    "] role [" + role + "']"); "
    String response = "";
    Boolean then = false;
              
    try {}
    Get the component Interface *.
    IUserProfile oUserProfile;
    String ciName;
    ciName = 'USER_PROFILE ';
    oUserProfile = oSession.getCompIntfc (ciName) (IUserProfile);
    If (oUserProfile == null) {}
    log. Error ("Can't get a component Interface" + ciName);
    ErrorHandler();
    response = "UNABLE_TO_GET_CI";
    } else {}
    Next = true;
    }
                   
                   
                   
    If {(next)
    Next = false;
    oUserProfile.setUserID (oprid);
    Run Get *.
    Boolean get = oUserProfile.get ();
    log. Debug ("Get:" + get);
    If (! to) {}
    log. Error ("no line does exist for the specified keys. Unable to get the component Interface. ») ;
    ErrorHandler();
    response = "UNABLE_TO_GET_USER";
    } else {}
    Next = true;
    }
    }

    If {(next)
    Next = false;
    Set the Interface Mode of component *.
    oUserProfile.setInteractiveMode (false);
    oUserProfile.setGetHistoryItems (false);
    oUserProfile.setEditHistoryItems (false);
                        
    IUserProfileRolesCollection oRolesCollection;
    IUserProfileRoles oRoles.
    oRolesCollection = oUserProfile.getRoles ();
    oRoles = oRolesCollection.insertItem (oRolesCollection.getCount () - 1);
    for (int l = 0; l)< orolescollection.getcount();="" l++)="">
    If (role.equalsIgnoreCase (oRolesCollection.item (l) .getRoleName ())) {}
    response = "ROLE_ALREADY_EXISTS";
    break;
    }
    If (l == oRolesCollection.getCount () - 1) {}
    oRoles.setRoleName (role);
    Next = true;
    }
    }
    }
                   
    If {(next)
    Next = false;
    Boolean save = oUserProfile.save ();
    log. Debug ("Save:" + save);
                        
    If (! save) {}
    ErrorHandler();
    response = "UNABLE_TO_SAVE";
    } else {}
    response = "SUCCESS";
    }
    Next = true;
    }
                        
                   
    Boolean cancel = oUserProfile.cancel ();
    log. Debug ("Cancel:" + cancel);
    If (! cancel) {}
    ErrorHandler();
    response = "UNABLE_TO_CANCEL";
    }
                             
                   
    } catch (JOAException e) {}
    e.printStackTrace ();
    log. Error ("an error occurred");
    ErrorHandler();
    response = "ERROR";
    }
              
    log.info (CLASS_NAME + ". addRole()---> response =" + response);
    send the response;
    }
    >

    There are a few examples from.

    -Kevin

  • After you click the command button, the user can not change form

    This form with a command button to the Page 5 that duplicates the page: http://pardons.delaware.gov/pdfs/pard_app.pdf

    If the user running this command button and then closes and opens again the form, the user is more able to add or change anything whatsoever in the form. Instead, the user gets an error message that says "this document enabled extended in Adobe Acrobat Reader DC. features." The document has been changed since its creation and use of the extended functionality is no longer available.  Please contact the author for the original version of this document. "Is there a way to fix this?  Thank you.

    FYI, the JavaScript code for the command button is the following:

    var fld;

    var arrayFields = new Array (this.numFields);

    (IT) {/ / default is 'this'}

    for (var k = numFields; k; k-) {}

    for (var k = 0; k < numFields; k ++) {}

    FLD = getField (getNthFieldName (k));

    If (fld.name == "txtCrimSumOff_Cnt") {}

    If (fld.value == 1) {}

    FLD. Value = This.PageNum + 1;

    } else {}

    FLD. Value = FLD. Value+ 1;

    }

    var page_start = fld.value;

    }

    }

    }

    Spawn of named model

    var t = this.templates

    strName = "CrimSumOff"; var

    for (var i = 0; i < Extremity; i ++) {}

    {if (t [i]. {(Name.IndexOf (strName)! =-1)}

    myPage var = t [i] .spawn (page_start, true, false); together second opt to false to keep the names of files

    Get the name prefix field that Acrobat will automatically add the new fields

    var f_prefix = 'P' + (page_start) + '.' strName + '1';

    Reset the newly created fields

    this.resetForm ([f_prefix]);

    Go to the new page

    this.pageNum = page_start;

    }

    }

    Yes. If you don't have the original version, unchecked, you can open the version activated in Acrobat and select: file > save a copy

    This will create an incompatible version. Note that it will automatically open in Acrobat when you do this.

  • How can I make a question that the user is able to update and respond again? Thank you.

    I am creating a question that the user can update if it gets its bad to try again. Is this possible and if so, how?

    I gave you a link that explains how to reset a such blade, was it not clear?

  • Can you create a text field entered by the user that the content of the flow in a subform?

    I'm working on a project to convert into a document library of more than 600 forms from Word to PDF, most of the time it's simple and binding the fields to the database schema and use subforms works very well - however, there are some cases where there is a combination of input fields by the user mixed with fields of database and in some cases , the fields in the end user are all there, but the amount of content can vary from 250 characters to thousands.  The project manager wants a PDF that allows users to enter any amount of text they should and have the function of shaping the way it is as if all the fields have been populated by the database - I don't know of a way to make that work only if the content is first registered in the schema (or implement CM and have all users working in LiveCycle, but the basic data use PDF, take her is not an option right now).

    If anyone has any ideas how to operate the these things I would be very happy to hear about.

    Thank you very much

    R

    Hello

    If you can post your form in the post, I can have a look and give my comments.

    I created a sample file for your reference...

    (1) Flowed is set to the content property for Page1.

    (2) each text box is placed inside a subform that is also a property content value Flowed.

    (3) in the properties of the form, as the default tab, set the format of PDF rendering dynamic XML form.

    (4) in the properties of the form, on the overview tab, specify the Type of Preview as "Interactive form" and preview XML Adobe as a 'dynamic XML form' form. (this step is to preview the PDF file in the Designer).

    (5) to save the form as dynamic XML form. (File-> Menu save under).

    I hope this helps.

    If you have any questions, please post your form...

    Thank you

    Srini

    Please find the example file the slot location

    https://Acrobat.com/#d=qQohvZGsJrky-sTdPTJbzA

  • When you use the feature of period of Parental controls for my child's account, the session is saved, and although very convenient for the user, it's boring for the parent. How can I disconnect this acct when it expired already?

    When you use the period of Parental control feature, acct of my child receives the 15 min and 1 put min warning, and then the closure of the session. However, any Web site that it has a really annoying music keeps playing even when I connected under my account admin the only way I can disconnect the acct with Parental control game is to restart my whole machine. Is there another way to disconnect the user standard acct with this feature of limitation in time game? THX.

    Hi marion_librarian

    Thank you for using the Microsoft Answers Forums!

    This is the problem of design, the session remains active in the background, however, so the next time they connect, they can pick up where they left off without losing any of their work.

    In case if you complete the program, there is no these settings in the parental control to close the program, you can disconnect the program using the Task Manager.

    Check the link for more information:

    Explore the features: Parental controls:

    http://www.Microsoft.com/Windows/Windows-Vista/features/parental-controls.aspx

    Set up Parental controls:

    http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-parental-controls

    NOTE: When you log in as an administrator you can connect to the wide of other users. Follow these steps to log on to the account with Parental control and/or any other user.

    1 click-right on the taskbar and open the Task Manager.

    2. Select users

    3. right click on the user name you want to disconnect, and then click close session.

    Hope this information was useful.

    Let me know if it worked.

    All the best!

    Thank you and best regards,

    R uma - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I'm unable to access my skydrive account, I get my user id and password but when I try to access the skydrive page it just flickers and flashes a canned red shield in the address bar.

    I'm unable to access my skydrive account, I get my user id and password but when I try to access the skydrive page it just flickers and flashes a canned red shield in the address bar. I managed to go into the live account and change the password, so I know that the connection details are correct. I can access my hotmail account.

    I signed up for skydrive two days ago and have loaded the documents that I cannot now reach!

    original title: skydrive connection problem

    Forum on SkyDrive here:

    http://windowslivehelp.com/product.aspx?ProductID=6

  • Only windows 7 can set the image of the user that appears in the start menu you can not change it. True or false?

    Is true or false. Only windows 7 can set the image of the user that appears in the start menu you can not change it.

    Set to false.

    Type the user accounts in the start search box.

    Press ENTER.

    Select change your image.

    Browse the picture than what you want.

  • How can you determine what the user watch calendar view (month, week, day, list) the calendar of CSS (5.0)

    We run Apex 5.0.1.00.06 and I would like to add a region to a page, if the user displays the LIST of the CSS calendar view. I can't understand how to determine which view the user displays currently. Is it possible to determine to create a condition to show another region in they are on a particular view?

    BillH104 wrote:

    We run Apex 5.0.1.00.06 and I would like to add a region to a page, if the user displays the LIST of the CSS calendar view. I can't understand how to determine which view the user displays currently. Is it possible to determine to create a condition to show another region in they are on a particular view?

    This can be achieved using some dynamic measurements, to hide the region if the calendar is the display month view when loading the page and to show/hide the region when you click the list/month selector.

    Add a static region ID to region calendar for use in jQuery selectors.

    Name: See the region list - load

    Event: Loading the page

    Condition: Expression of JavaScript

    Value:$('#static-region-id .fc-month-view').length > 0

    Real Action

    Action: Hide

    Selection type: Region

    Region:

    Nom : See the region list - click

    Event: Click

    Selection type: jQuery Selector

    jQuery Selector:.fc-button-group button

    Condition: Expression of JavaScript

    Value:$(this.triggeringElement).hasClass('fc-list-button')

    Real Action

    Action: Show

    Selection type: Region

    Region:


    Action of false

    Action: Hide

    Selection type: Region

    Region:

  • You can use functions defined by the user in orardf: statement?

    Hello, reading Chapter 5: refined for RDF data access control
    I found this example:

    OPTIONAL
    {
    ? control pred: hasContractValue? Val.
    ? control pred: hasManager * ' sys_context ("his $ appctx ', 'app_user_uri') ' ^^ orardf: instruction *.
    }

    See the orardf type: statement, I got the question if you can use functions defined by the user in the place where he has used the sys_context?

    Thank you.

    PD: The translation was made from Spanish to English by using Google Translator

    Hello Alberto,.

    Only the sys_context function is supported. The user-defined functions are not supported.

    Thank you
    Matt

  • After a quiz can show you the questions and answers of the user to review of test

    After taking a quiz, is there a way to show the questions and answers of the user to review of passing the test.

    And those who failed the quiz would go to the first slide again to retake the test.

    Thank you

    Add an interactive object received, such as a button or slide 1 clickbox. Then the review will begin from there because Captivate counts of any object marked as belonging to the scope of Quiz.

  • How can I get automatic fill-in of the user name and password?

    It is similar but different from my previous question. On a computer when I open Firefox it opens automatically log me in my homepage (a Yahoo mail account). When I open a new tab in my gmail login happens with my already filled username. All I have to do is click NEXT and it goes to the login with my password information page. I can't get firefox my my other computer to do this. My homepage comes up with my informed user name, but I have to manually go through the login process. When I open gmail in a new tab, I can't do anything except: 1. press ENTER and get an error message, and then click in the user name box, or 2. Re - click the gmail to re - open the tab. Once I did this the page comes with connection two names - the strange correct one and a few. (I've not been able to get rid of the weird name, either). I would like to be able to fix things, so Firefox will do the same thing on this computer as it does on the other.

    Someone at - it suggestions?

    A detail as a website to remember you (automatically log you) is stored in a cookie.

    You can use these steps to make a Web site recognize and remember you:

    • Create a cookie 'allow' except to keep these cookies, in particular in the case of secure websites and when the cookies expire when Firefox is closed.
    • Tools > Options > privacy > "Use the custom settings for history" > Cookies: Exceptions

    You can delete cookies for a Web site to make the site forget about you.

  • I can not access my Verizon email on my iPad. I can access the login page, but there is no box to enter the user name. I talked to Verizon support, and they say no problem at their end. Any ideas?

    I can not access my Verizon email on my iPad. I can access the login page, but there is no box to enter the user name. I talked to Verizon support, and they say no problem at their end. Any ideas?

    Macbeth,

    From your description, it appears you are trying to get your mail using Safari to access your e-mail account. Why you do not use the Mail App?

    http://www.Verizon.com/cs/groups/public/documents/adacct/Setup-email-mobile-Devi Ed.pdf

  • How can I get the vi to wait for the user to select a COM port?

    It is a problem when I run the application.  If the selected COM port is not currently connected to the material, then I get an error.  I can then select the COM port, rerun the application and everything is fine.  But I want the application to run when it is called by the user and wait until the correct COM port is selected.  I'll settle for any COM port selection and put the responsibility for the adequate selection on the user.  Thank you all.

    Of course.  It works fine now.  Thanks MikeS81!

Maybe you are looking for