Question on syntax for role portion (LH side) of the credential

I am concerned about syntax for the role portion (the stuff to the left of the "@" sign). Specifically, what are the illegal characters? Can I use dashes and periods? And I presume I can intermix alpha and numeric characters, and I need to know if that's not the case.
Thanks,
Rob

That's a little complicated ... there are multiple layers to consider.
Firstly, recall where credentials go ... they go in iTunes U URL (URI) query component. WIthin the query component of any URI, certain characters are reserved. Those characters are:
From RFC 2396:
The query component is a string of information to be interpreted by
the resource.
query = *uric
Within a query component, the characters ";", "/", "?", ":", "@",
"&", "=", "+", ",", and "$" are reserved.
So you'll want to avoid those characters outright. In addition, there are characters that are not allowed (or have special meanings within) any URI (again I refer you to RFC 2396).
My suggestion would be to apply the same rules as would apply to a variable within most programming languages ... you're safest if you stick to alphanumerics and the underscore, start with an alphabetic character.
Recall, too, that while you use roles in whatever way makes most sense for your site, the intention is to use that slot as, well, a "role" ... you should be able to define that simply, in most cases, without the need for special characters. A "role" would be something like "Student" or "Instructor" or "Visitor" or "Guest" or "Actor" or "Producer" or "Editor" or "Dean" or "VideoProductionAssistant" or "Administrator" ... think of a role not so much as who somebody "is" within iTunes U, rather think of it as the place to describe what a person "does" within iTunes U. I suspect ... and I could be wrong ... but I suspect that the reason you're asking about special characters is because you want to create a role-per-user at your site ... and you want to make sure your rules for usernames will map to what's allowed in the role slot.

Similar Messages

  • Database design for Role/User based access to the application..

    We want to implement Role/User based access to the application.
    Can anyone tell me whats the optimized way of storing the data {User, Role, Access_Type etc} in the database.. The Roles might get added in the future so i dont want to maintain a single table to map User-Access_Type..
    Access_Type -->
    AT_1 | AT_2 |AT_N |
    ------- |------- |------- -|------|
    User_1 | | | |
    ------- |------- |--------|------ |
    User_2 | | | |
    ------- |------ -|--------|------ |
    I want to maintain a table which will map user with the Access_Type, which should be mainatained in a different table..
    Any help would be highly appreciated..
    Thanks in Advacnce,
    Shridhar..

    You find your answer here:
    http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html

  • I am trying to reset my apple id security questions but i for some reason do not recieve the email for it

    I cannot receive the reset email for my security questions

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (114161)

  • HT1937 My iPod says i have to answer these security questions to pay for stuff but i cant remember the awnsers?

    i cant pay for sutff and i have reset my  ipod so i cant pay cause i knew the awnsers when i reset but i didnt think about that when i reset

    Click here for information. If the option to have the answers emailed to you isn't available or doesn't work(the email may take a few hours to arrive), contact the iTunes Store staff via the link in the 'Additional Information' section of that article.
    (90722)

  • TS3297 Does anyone know how to reset your security questions?? I loaded an itunes gift card on new ipod but when trying to make a purchase, itunes is asking us the incorrect security questions?!(for 1st time purchase)

    Does anyone know how to reset your security questions?? I loaded an itunes gift card on new ipod but when trying to make a purchase, itunes is asking us the incorrect security questions?! (for 1st time purchase)  I know the questions are not what I chose because I wrote the questions & answers down when setting up the ipod. Any ideas??!!!

    Reset Security Questions
    Frequently asked questions about Apple ID
    Manage My Apple ID
    Or you can email iTunes Support at iTunes Store Support.
    If all else fails:
      1. Go to: Apple Express Lane;
      2. Under Product Categories choose iTunes;
      3. Then choose iTunes Store;
      4. Then choose Account Management;
      5. Now choose iTunes Store Security and answer the bullet questions, then click
          Continue;
      6. Sign in with your Apple ID and press Continue;
      7. Under Contact Options fill out the information and advise iTunes that you would
          like your security/challenge questions reset;
      8. Click Send/Continue.
    You should get a response within 24 hours by email.
    In the event you are unsuccessful then contact AppleCare - Contacting Apple for support and service.
    Another user had success doing the following:
    I got some help from an apple assistant on the phone. It is kind of round about way to get in.
    Here is what he said to do and it is working for me...
      a. on the device that is asking you for the security questions go to "settings", > "store" >
          tap the Apple ID and choose view"Apple ID" and sign in.
      b. Tap on payment information and add a credit/debit card of your preference then select
          "done", in the upper right corner
      c. sign out and back into iTunes on the device by going to "settings"> "store" > tap the
          Apple ID and choose "sign-out" > Tap "sign -in" > "use existing Apple ID" and you
          should be asked to verify your security code for the credit /debit card and NOT the
          security questions.
      d. At this time you can remove the card by going back in to edit the payment info and
          selecting "none" as the card type then saving the changes by selecting "done". You
          should now be able to use your iTunes store credit without answering the security
          questions.
    It's working for me ...I just have to put in my 3 digit security pin from the credit card I am using.
    Good Luck friends!

  • What is the syntax for the mdx offset in universe designer?

    Hi everybody!!!
    I wish someone could help me with my mdx syntax. I made an universe with Universe designer (BOEdge 3.1) from a BW query and I'm trying to create in this universe an object with an offset.
    My new object has to be the result of the [0CALYEAR].[LEVEL01] with "- 1" offset, is it possible???
    I tried to put the code in the select or in the where fields of the object but without results. When I try to make a query in webi rich client this "new object" doesn't work...
    Please help me...
    Dario

    Hi Ingo,
    thank you for the reply.
    I tried to use that document...the problem is when I put the code in the object (inside univ des) and I analyse the code using the button, the syntax is every time without errors. When I try to make the query in webi rich client , if I use that object the software shows a window with error.
    I used these code in the "where" field:
    1. <EXPRESSION>@SELECT([0CALYEAR].[LEVEL01])-1</EXPRESSION>
    2. <EXPRESSION>@SELECT(Anno calendario\L01 Anno calendario)-1</EXPRESSION>
    the problem is to find the right syntax for what I want...the -1 offset for the new object from the OCALYEAR. I need that if in webi I select from the object filter [0CALYEAR].[LEVEL01] the value 2010 - in the new object will be 2009 etc...
    Dario

  • Howto Refresh SAP BW Query Changes for roles (User menu)

    Hi All,
    I have apply new changes for combine hierarchy. However I have tested in Query Designer/web and its works ok hence the user cant see the change.
    Howto Refresh SAP BW Query Changes for roles (User menu)
    Below is the setup we do have (sap bw 3.5)
    1. User run query from User menu (They logon to bw backend and run query by click on the icon on thier user menu.
    Changes.
    1.Apply combine hierarchy (Rows in Query Designer)
    2. I have display query on the web and its work as expect
    Issue
    1. Query not refresh in user menu (Roles) Users run the query through user menu
    Regards Jon

    thank you

  • What is the SYNTAX for the user and group filters??? Is the HTML Ampersand token Amper A m p semicolon required in the filter

    There seems to be quite a bit of confusion over the actual syntax for the user and group filters on the Forms Based Authentication  Ldap Role and membership providers.. MSFT isn't really clear and there is a universal confusion in the blogsphere.
    I the filters should the prefix be the ACTUAL Ampersand or the HTML token for an AMPERSAND.. I realize the in many cases the blogger might have inadvertently specified the html token when the bare naked ampersand was intended..   The question
    therefore is : can a filter be taken directly from and ADSIEdit query and used as a filter or must the filter be made HTML safe by swapping out the AMERSAND with the HTML Token for AMERSAND before putting it into the configuration
    for the LDAPRole/membership provider...
    All science is either physics or stamp collecting

    Hi GUYO,
    I am not quite sure how we implement this on sharepoint side, as I did research and sharepoint may not have this feature to do this.
    most of the LDAP for sharepoint may need to follow these steps in this article:
    http://technet.microsoft.com/en-us/library/ee806890(v=office.15).aspx
    http://blogs.msdn.com/b/sridhara/archive/2010/01/07/setting-up-fba-claims-in-sharepoint-2010-with-active-directory-membership-provider.aspxhttp://blogs.msdn.com/b/kaevans/archive/2013/01/31/configuring-ldap-for-fba-in-sharepoint-2010-or-sharepoint-2013-with-powershell.aspx
    here is an example :
    http://blogs.msdn.com/b/sharepoint__cloud/archive/2011/12/20/achieving-fba-with-adlds-amp-sharepoint-2010.aspx
    if should this questions was at the ADSIEdit part, perhaps you can help us by opening a new thread at the AD foum
    https://social.technet.microsoft.com/Forums/en-US/home?category=windowsserver
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Syntax for using a variable in an equation.

    Hi all,
    Simple question here.  What is tha appropriate syntax for using a variable in a calculation equation.  Specifically, I am taking an established curve fitting equation from my channels and trying to calculate it over a lineargenerated data set to extend the curve  beyond the original data sample.  Here is the small portion of script I have that will not work.  Thanks for any help.
    dim a,b,c
    a = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef1").Value
    b = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef2").Value
    c = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef3").Value
    Call Calculate("Ch(""[5]/Air Consumption LG"")= ""a"" + Ch(""[5]/LinearGenerated"")*""b""+""c""*ch(""[5]/LinearGenerated"")^2")

    Hi Gloorious,
    I am using diadem script.  In my example above, for the equation, if I substitue a,b,and c with numerical values, the script runs just fine and the formula executes as desired.  Is there a way to place the variables there instead as I have tried to do (I was hoping it was just a syntax issue) or do I have to approach it a completely different way?
    This script will execute just fine:
    Call Calculate("Ch(""[5]/Air Consumption LG"")= 4 + Ch(""[5]/LinearGenerated"")*5+6*ch(""[5]/LinearGenerated"")^2")
    but this will not:
    dim a,b,c
    a = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef1").Value
    b = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef2").Value
    c = Data.Root.ChannelGroups(5).Channels("air consumption formula").Properties("ResultApprAnsatzCoef3").Value
    Call Calculate("Ch(""[5]/Air Consumption LG"")= ""a"" + Ch(""[5]/LinearGenerated"")*""b""+""c""*ch(""[5]/LinearGenerated"")^2")

  • Looking for a way to programmatically set the visible portion of the front panel when a subVI opens

    I am looking for a way to programmatically set the visible portion of the front panel when a subVI opens.  Haven't found any posts that relate, but I'm not sure how to ask the right question.  To be clear, I want to write a helper VI to go through a list of subVIs to make sure the background images are all in the same place when their respective subVIs open.  I hate manually playing with scroll bars before I save each of the VIs...  I'm figuring I need to find the top/left location of the background image (know how to do this already) and then set a VI FP property to  these values or some offset, but I can't find the relevant property. FP:run-timeposition:custom looked promissing, but only affects the location of the window, not the area of the front panel the window is displaying.
    Solved!
    Go to Solution.

    Cool.  Getting closer.  The way I implemented your suggestion affects the subVI only if it is open.  I can use this to do what I'm after, perhaps putting the code into each subVI.  Maybe open all subs, run the helper, and save.    Seems like I'm missing the elegant version...
    My proof of concept code:

  • OIM 11gR1 : Parallel approval for role assignment.

    Hi,
    I'd like to add custom attributes to a role : "District security officer" and "Department security officer" (Can those be used for searching users? -- i.e. users lookup)
    When the role is to be assigned to a user, I'd like the workflow engine to open tasks for the members entered on those custom attributes.
    Also, Is it possible to assign a Role instead of the users in the custom attributes ?
    Meaning, Approving user assignment of a role named "Role A" will be done by users that belong to "Role_A_Approvers".
    Will appreciate pointers to the online docs, I've search and didn't find information related to the usecase I've described.
    Thanks,
    Meni,

    Bikash Bagaria wrote:
    Meni wrote:
    Hi,
    I'd like to add custom attributes to a role : "District security officer" and "Department security officer" (Can those be used for searching users? -- i.e. users lookup)
    When the role is to be assigned to a user, I'd like the workflow engine to open tasks for the members entered on those custom attributes.Try modifying the dataset. But I think there was an issue which someone reported here which said that you cannot add additional attributes to the role dataset. Logically it makes sense because there is no custom attribute for role in OIM so dataset should not allow it either.
    I've noticed that the design console allows adding custom attributes to roles.
    This can be done via Administration --> User Defined Field Definitions --> UGP (Table name).
    Once a field is added, you'll need to choose "Properties" and add a "Visible Field = true" prop to the attribute chosen.
    This will add a custom attributes section where your attributes will be shown.
    Question is how you can add a "search users" lookup instead of plain string for this custom attribute,
    and how those attributes will find their ways into the BPEL composite where business decisions based on those attributes may be taken (assign task per this attribute for an example).
    Also, Is it possible to assign a Role instead of the users in the custom attributes ?
    Meaning, Approving user assignment of a role named "Role A" will be done by users that belong to "Role_A_Approvers".You can create request for multiple roles in a single request and in your approval process you need to dynamically set the human task assignee based on the role selected. You also need to attach the approval process to orchestration level so that it generates a separate child request for each role selected.
    I'm not sure I understand how the proposed approach helps avoid the decoupling of users to role admins attribute.
    The intention was to have two roles, "Role_A" and "Role_A_Approver" where people that belong to "Role_A_Approver" will be assigned workflow tasks whenever Role_A is to be granted to end-users.
    Currently, each role has a "Role Admin" attribute, this attribute however holds a user and not a container of users (role)..
    Will appreciate pointers to the online docs, I've search and didn't find information related to the usecase I've described.
    All about requests
    Thanks,
    Meni,-Bikash

  • Syntax for query help

    I'm in need of coming up with the correct syntax for a query that would work in Oracle.
    I would like to convert or change the syntax of my SQL statement used in SQL Server to produce the same result in Oracle.
    Select receiptDate, receiptNumber, receiptAmount
    From receipt, customer
    where customer.customerid = receipt.customerid
    and customerName = 'Joe Smith'
    and receiptDate between '01/01/2011' and '03/31/2011'
    ORDER BY receiptDate;
    Sorry if this is posted in the wrong forum.
    Thank you for any information, even if it is just a link to show where I can get more syntax structure.

    Hi,
    Welcome to the forum!
    891100 wrote:
    I'm in need of coming up with the correct syntax for a query that would work in Oracle.
    I would like to convert or change the syntax of my SQL statement used in SQL Server to produce the same result in Oracle.
    Select receiptDate, receiptNumber, receiptAmount
    From receipt, customer
    where customer.customerid = receipt.customerid
    and customerName = 'Joe Smith'
    and receiptDate between '01/01/2011' and '03/31/2011'
    ORDER BY receiptDate;Is receiptDate a DATE? If so, change the last part of the WHERE clause from
    and receiptDate between '01/01/2011' and '03/31/2011'to
    AND     receiptDate >= TO_DATE ( '01/01/2011'     -- First day to include
                                 , 'DD/MM/YYYY'
    AND      receiptDate <  TO_DATE ( '04/01/2011'     -- First day NOT to include
                                 , 'DD/MM/YYYY'
                          ) Or you can use DATE literals, like this:
    AND     receiptDate >= DATE '2011-01-01'
    AND      receiptDate <  DATE '2011-04-01'With DATE literals, you don't have any choice of format: the dates have be to given as 'YYYY-MM-DD'.
    DATEs in Oracle always include hours, minutes and seconds. If you don't specify the hours, minutes or seconds, they default to 00.
    If you said:
    AND     receiptDate BETWEEN TO_DATE ( '01/01/2011'
                                          , 'DD/MM/YYYY'
                  AND     TO_DATE ( '03/31/2011'
                                          , 'DD/MM/YYYY'
                                   ) that would not include most of the last day, March 31: it would include only the first second of that day (that is, 00:00:00). To include all of March 31, up to and including 23:59:59, you could say:
    AND     receiptDate BETWEEN TO_DATE ( '01/01/2011'
                                          , 'DD/MM/YYYY'
                  AND     TO_DATE ( '03/31/2011 23:59:59'
                                          , 'DD/MM/YYYY HH24:MI:SS'
    Sorry if this is posted in the wrong forum. No, this is the right place for this kind of question.
    Thank you for any information, even if it is just a link to show where I can get more syntax structure.

  • A question about users assigned roles extraction

    Dear all,
    I have a question about users assigned roles list extraction. I need the list of the users who have already been created along with their assigned roles. According to what I found on Google, there is a table named AGR_USERS which provides the roles assigned to each user. Yet, this table provides only the SAP ID of each user along with the assigned roles. What I need more is to have also the first name and second name of each user.
    So, do you know any table providing at least the following information:
    1) First name of each user
    2) Second name of each user
    3) SAP ID of each user
    4) All assigned roles to each user.
    NOTE: I really need to have first name and second name in separate columns
    Thanks in advance,
    Dariyoosh

    >
    Shekar.J wrote:
    > Agr_users for the user ID and role assignments
    > USR02 to check the validity of the User ID
    > and USER_ADDR for the first name and last name
    >
    > You can create a Table join of the above 3 tables to retrieve the data you require
    Thanks to you and others for your attention to my problem
    I don't know anything about ABAP programming, is there any transaction allowing to create this join? As it seems to me the column "UNAME" in the table "AGR_USERS" and the column "BNAME" in the table "USER_ADDR", both refer to the SAP ID of the user. As a result the condition of the join would be "WHERE (UNAME = BNAME)", is there  any transaction/programme allowing to create this join?
    Thanks in advance,
    Dariyoosh

  • Invalid input syntax for type boolean???? ahhhhhh

    Hey all,
    Has anyone come accross the 'invalid input syntax for type boolean' error - its driving me crazy trying to figure out what is wrong with my function/java code!!!
    The postgres (using 8.1) function is:
    CREATE OR REPLACE FUNCTION selectstaffroles("varchar")
    RETURNS refcursor AS
    $BODY$
    DECLARE
    ResultSet refcursor;
    whereClause ALIAS FOR $1;
    BEGIN
    OPEN ResultSet FOR
    EXECUTE 'SELECT role.* FROM role left join staffrole on staffrole.roleid=role.roleid WHERE ' || whereClause;
    RETURN Resultset;
    END;
    $BODY$
    LANGUAGE 'plpgsql' VOLATILE;
    WhereClause sent via java code =
    c.colStaffRoleStaffID+"="+staff.getUserStaffID() -which basically is staffid=2
    Once this query is executed via the java code i get the 'invalid input syntax for type boolean: "staffid=2" ' error. However if I type select selectstaffroles('staffid=2') using pgAdmin SQL window - no problems!
    ANY HELP or suggestions will be greatly appreciated! - Thanks in advance!
    Eli

    Ahh soz - silly mistake which was corrected pretty much as soon as post was posted!
    Solution:
    Within another method the where clause sent to the database function was enclosed within quotes! Removing quotes = problem resolved!

  • Macro syntax for non-negativity

    Hi,
    Could some one copy past the syntax for non-negativity like this
    If KF1 < 0, then KF1 = 0 else KF1
    This condition needs to be applied on top of existing macro for KF1 that does some arithmatic whose result could be < 0.
    would appreciate if you copy paste the steps.. that you may already have in any of your macro books.
    I also take this opportunity to request the macro experts to compile a wiki document on macro syntax.. A piecemeal approach would also do without relating to WHERE such a macro could be used. I find this learning the macro syntax by trial and error a rather unproductive and painful experience.
    If some of you could volunteer lets build a fantastic reference document on the macros where everyone can contribute and come with with something really useful.
    The final list can then be classified into artithmatical, conditional, control, abap macros. A brief description alongside each macro and some expert comments on possible application can be later expanded. newer and alternate ways of realzing the same macro creatively and in lesser steps could be regularly appended. I could moderate if such a thing is correct and agreeable
    Regards,
    Loknath

    I cant have more than 10 questions open. so closing this though there arent any responses

Maybe you are looking for

  • Problems with Windows Vista and Speedster 945GT?

    Hi! I've been trying to install Windows Vista on my Speedster 945GT-based system for some time now, but I am unable to get it to run stable. It hangs on random occasions when installing and if one is lucky it's gets thru the install but then it hangs

  • Run time filter on choose list

    Hi Experts I have two editboxes on a form . Both have choose list. I want to filter the second editbox choose list by the value of first editbox. So I set a condition on second editbox in "BeforeChooselistEvent" It works for the first time but on sec

  • OBIEE 11G - EBS R12 Authentication

    Hi , I want to make OBIEE 11G authentication with EBS R12 but I dont want to login to OBIEE thru ERP?. After making authentication how can I get the responsibilities and set them?. Thanks... Edited by: TErsin on Dec 21, 2011 8:59 PM

  • How to get master data in xls

    Hi All,   I want to export hierarchy data(Content in hierarchy) in xls,is there any method to do that. Please suggest on this. Thanks & Regards Sameer Khan

  • JTDS driver

    I want to connect Netweaver DataBase Server (sqlserver 2000 in my case)using jTDS driver. can anybody help me in creating a datasource  in visual administrator for sql server using jTDS driver. I tried to create a datasource using jTDS in visual admi