CSS Acts in different ways according to the logged in user.

Hi All,
I have used CSS within my Master Page i.e. Oslo. I have changed the SharePoint 2013s' default Start.aspx file as the new Sites' home page. I also used this CSS code snippet for creating a web menu because SharePoint's default navigation is rather odd. 
However the menu within the master page was a success and I created several pages using the master page and each new page contains the CSS custom made web menu without any error.
But when I logged using a different Farm Admin Account the CSS menu changes to a somewhat else. But when I logged in using the built in Administrator account the menu is displayed as it should be. But when I logged in as a different Farm Admin the menu is
not showing as it should be. I have tried inserting the CSS directly to the Master Page and from the Style Library. Both ways are Ok with the built-in Administrator. But when I logged in using another Farm admin the use of Style Library was a useless thing
and the direct code input method is was the only success one. The style library has all the permission for all users.
The source code is at the below.
<style type="text/css">
.ms-navedit-editLinksText{
display: none;
/*This script part will remove the default SharePoint Navigation & the Site Name Sections **/
ms-core-navigation {
display:none
body{
width:absolute
/* This CSS Snippet will style the Web Menu in the MasterPage. */
/* CSS Document */
/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
html,body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
border: 0;
font-family: inherit;
font-size: 100%;
font-style: inherit;
font-weight: inherit;
margin: 0;
outline: 0;
padding: 0;
vertical-align: baseline;
:focus {/* remember to define focus styles! */
outline: 0;
ol, ul {
list-style: none;
table {/* tables still need 'cellspacing="0"' in the markup */
border-collapse: separate;
border-spacing: 0;
caption, th, td {
font-weight: normal;
text-align: left;
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
blockquote, q {
quotes: "" "";
a img {
border: 0;
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
.clear {
clear: both;
h1 {
font-size: 18px;
h2 {
font-size: 16px;
/* Lay out design */
/************** start menu design *************/
#mainMenu {
width: relative;
height: 80px;
background: url(http://pc/PublishingImages/SitePages/Home/menu-bg.png) repeat-x;
#main-Menu ul {
padding-left:10px;
#main-Menu ul li{
top: 20px;
background-color: #4e34ee;
float: left;
display: block;
text-align: center;
margin-left: 5px;
-moz-border-radius: 0px;
-webkit-border-radius: 4px 4px 0px 0px;
border-radius: 4px 4px 0px 0px;
/* Tab Content - menucool.com */
ul.tabs
padding: 7px 0;
font-size: 0;
margin:0;
list-style-type: none;
text-align: center; /*set to left, center, or right to align the tabs as desired*/
ul.tabs li
display: inline;
margin: 0;
margin-right:7px; /*distance between tabs*/
ul.tabs li a.tab1
font: normal 15px Calibri;
text-decoration: none;
padding: 16px 16px;
border: 0px solid #CCC;
border-bottom-color:#B7B7B7;
color: #000;
/*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x;*/
background-color:#0072c6;
border-radius: 4px 4px 0 0;
outline:none;
text-align:center;
ul.tabs li a.tab2
font: normal 15px Calibri;
text-decoration: none;
padding: 16px 16px;
border: 0px solid #CCC;
border-bottom-color:#B7B7B7;
color: #000;
/*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
background-color:#00aa9e;
border-radius: 6px 6px 0 0;
outline:none;
ul.tabs li a.tab3
font: normal 15px Calibri;
text-decoration: none;
padding: 16px 16px;
border: 0px solid #CCC;
border-bottom-color:#B7B7B7;
color: #000;
/*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
background-color:#00adc6;
border-radius: 6px 6px 0 0;
outline:none;
ul.tabs li a.tab4
font: normal 15px Calibri;
text-decoration: none;
padding: 16px 16px;
border: 0px solid #CCC;
border-bottom-color:#B7B7B7;
color: #000;
/*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
background-color:#00adc6;
border-radius: 6px 6px 0 0;
outline:none;
ul.tabs li a.tab5
font: normal 15px Calibri;
text-decoration: none;
padding: 16px 16px;
border: 0px solid #CCC;
border-bottom-color:#B7B7B7;
color: #000;
/*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
background-color:#0072c6;
border-radius: 4px 4px 0 0;
outline:none;
ul.tabs li a.tab6
font: normal 15px Calibri;
text-decoration: none;
padding: 16px 16px;
border: 0px solid #CCC;
border-bottom-color:#B7B7B7;
color: #000;
/*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
background-color:#00aa9e;
border-radius: 6px 6px 0 0;
outline:none;
ul.tabs li a.tab7
font: normal 15px Calibri;
text-decoration: none;
padding: 16px 16px;
border: 0px solid #CCC;
border-bottom-color:#B7B7B7;
color: #000;
/*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
background-color:#8dc63b;
border-radius: 6px 6px 0 0;
outline:none;
ul.tabs li a.tab8
font: normal 15px Calibri;
text-decoration: none;
padding: 16px 16px;
border: 0px solid #CCC;
border-bottom-color:#B7B7B7;
color: #000;
/*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
background-color:#ab23cd;
border-radius: 6px 6px 0 0;
outline:none;
ul.tabs li a.tab9
font: normal 15px Calibri;
text-decoration: none;
padding: 16px 16px;
border: 0px solid #CCC;
border-bottom-color:#B7B7B7;
color: #000;
/*background: #F0F0F0 url(http://pc/PublishingImages/SitePages/Home/menu-sep.png) 0 0 repeat-x; */
background-color:#00adc6;
border-radius: 4px 4px 0 0;
outline:none;
ul.tabs li a:visited
color: #000;
ul.tabs li a:hover
border: 1px solid #B7B7B7;
background:gray 0 -36px repeat-x;
ul.tabs li.selected a, ul.tabs li.selected a:hover
top: 0px;
font-weight:bold;
border: 1px solid #B7B7B7;
border-bottom-color: white;
ul.tabs li.selected a:hover
text-decoration: none;
#sub1{ background: #e3d0e6; }
#sub2{ background: #00adef; }
#sub3{ background: #8dc63b; }
#sub4{ background: #8dc63b; }
/************** end menu design *************/
</style>
The web menu is at the below.
<!------ Web Menu ------>
<div id="mainMenu">
<ul class="tabs" data-persist="true">
<li><a href="http://pc/SitePages/Home.aspx" class="tab1"><b>HOME</b></a></li>
<li><a href="http://pc/Pages/IT-Help-Desk.aspx" class="tab2"><b>IT HELP DESK</b></a></li>
<li><a href="http://pc/Pages/Electronic-Forms.aspx" class="tab3"><b>ELECTRONIC FORMS</b></a></li>
<li><a href="http://pc/Pages/Contacts.aspx" class="tab4"><b>CONTACTS</b></a></li>
<li><a href="http://pc/Budget/Forms/AllItems.aspx" class="tab5"><b>DOCUMENTS STORAGE</b></a></li>
<li><a href="http://pc/Pages/Image-Library.aspx" class="tab6"><b>IMAGE LIBRARY</b></a></li>
</ul>
</div>
<!------ End of Web Menu ------>
I cannot figure the error I am facing. Could someone help me to solve this matter ?
Thank You,
Regards,
Chiranthaka

I haven't seen this issue before. What I would do is, log in as each user then view the source of the page in the browser (right click the page and click "View Page Source" from the context menu, or use developer tools/firebug in the browser). Compare
the HTML generated for the menu for each user and see if any other CSS classes get applied. My gut is that another class is being applied for the other users, or the HTML is different in some way.
Brandon Atkinson
Blog: http://sharepointbrandon.com

Similar Messages

  • Show different dropdownlists according to the selected value

    Hi All,
    I need pop up a different dropdownlist according to the selected item in one dropdownlist.
    .e.g. if I select state in one dropdownlist, another dropdownlist contains all the states will show up beside it.
    Any one can help me?
    Thanks a lot

    There are two ways of doing it. Both involve javascript
    1 - capture the onchange event of the first dropdown. Submit the page, and reload it with the correct values for the second dropdown list
    2 - If there aren't that many different options, you can download all the different option lists into your page. Capture the onchange event of the first dropdown, and then use javascript to set the values in the second dropdown box.
    Both have pros and cons. The first option requires a page refresh. The second one requires that you download all possible options to the page.
    Good luck,
    evnafets

  • Challenge: Different ways to crash the JVM.

    This is a challenge to find different ways to crash the JVM with code written in Java.
    For starters: Mis-use of the Unsafe class.
    Field field = Unsafe.class.getDeclaredField("theUnsafe");
    field.setAccessible(true);
    Unsafe unsafe = (Unsafe) field.get(null);
    unsafe.getObject(null, 0L); // or many variations on methods in this class.

    Although I presume you mean the latest JVM (6u11), I can reproduce a crash with 1.5.0_05 fairly frequently using the SQL tool "squirrel" ( [http://squirrel-sql.sourceforge.net/]) during startup (while the splash screen is visible):
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  SIGSEGV (0xb) at pc=0xb7a02c41, pid=9019, tid=2651868080
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_05-b05 mixed mode)
    # Problematic frame:
    # V  [libjvm.so+0x39ec41]The crash is not reproducible on 6u10 (haven't tried it with 6u11), so I don't know how relevant this tidbit actually is but would be glad to check into it with a few other JVMs. For what it's worth, the above happens on RH Enterprise Linux (2.6.9 kernel, smt, Xeon CPU).

  • [svn:osmf:] 10124: Add a few variations of HelloWorld, showing the different ways of adding the DisplayObject to the Sprite.

    Revision: 10124
    Author:   [email protected]
    Date:     2009-09-10 10:40:10 -0700 (Thu, 10 Sep 2009)
    Log Message:
    Add a few variations of HelloWorld, showing the different ways of adding the DisplayObject to the Sprite.
    Modified Paths:
        osmf/trunk/apps/samples/framework/HelloWorld/.actionScriptProperties
    Added Paths:
        osmf/trunk/apps/samples/framework/HelloWorld/HelloWorld4.as
        osmf/trunk/apps/samples/framework/HelloWorld/HelloWorld5.as
        osmf/trunk/apps/samples/framework/HelloWorld/HelloWorld6.as

    The connections which you have done are right, Here are some settings which you can set on your computer and check if this solves your problem or not.
    Win XP: Click on the Start button >>> go to RUN>> type in "ncpa.cpl"- hit OK >>Here(Network Connections) right click on the ""Local Area Connection"" icon and select properties-Here click on the "Configure"   jaspal button- Click on the "Advanced" tab- In the "Property" box highlight Link speed and duplex/Connection type/Network or Media type- And in the "Value" box select 10 Mbps half duplex/ 10 base T/10 base half mode and click on OK.
    If still you face the same problem, then i feel it might be the problem with the Switch itself. 

  • What are the different ways in accessing the SQL server from NWDS ?

    Hi Experts,
    Can anyone suggest the different ways for accessing the SQL server from NWDS.I also want to know whether any tool is available for accessing SQL server from Webdynpro java application in Netweaver development studio.
    I am currently using JDBC driver for accessing the SQL server from Webdynpro java application in NWDS.
    Regards,
    Krishna Balaji T

    Note - that no internet backup service has been proven to be safe and effective for backing up the iPhoto library - unless you personally have backup uyp an iPhoto library and restored it sucussfuly form one it should not be recommended - a large number of people have lost their photos trying it
    LN

  • Write a SELECT statement in different ways is not the same thing!!!

    Let's take a look
    use AdventureWorks2012
    go
    dbcc freeproccache
    go
    and now select something
    select * from [HumanResources].[vEmployeeDepartmentHistory]
    go
    so, analyzing 'Compiled Plan'
    SELECT usecounts, cacheobjtype, objtype, text
    FROM Sys.dm_exec_cached_plans
    CROSS APPLY sys.dm_exec_sql_text(plan_handle)
    where cacheobjtype = 'Compiled Plan'
    ORDER BY usecounts DESC;
    GO
    and now let's write some SELECT in "fuzzy case"
    dbcc freeproccache
    go
    select * from [HUMANResources].[vEmployeeDepartmentHistory]
    go
    select * from [HumanRESOURCES].[vEmployeeDepartmentHistory]
    go
    select * from [HumanResources].[VEmployeeDepartmentHistory]
    go
    select * from [HumanResources].[vEmployeeDEPARTMENTHistory]
    go
    select * from [HumanResources].[vEmployeeDepartmentHISTORY]
    go
    SELECT * from [HumanResources].[vEmployeeDepartmentHistory]
    go
    select * FROM [HumanResources].[vEmployeeDepartmentHistory]
    go
    and now let's see compiled plans again
    SELECT usecounts, cacheobjtype, objtype, text
    FROM Sys.dm_exec_cached_plans
    CROSS APPLY sys.dm_exec_sql_text(plan_handle)
    where cacheobjtype = 'Compiled Plan'
    ORDER BY usecounts DESC;
    GO
    So, write a SELECT statement in different ways is not the same thing!!!
    Hope it'll be useful
    P.Ceglie

    Yes.  There is little or no query normalization that happens in front of the query plan cache.  It would be a performance tradeoff to parse and normalize the query before matching it to the cached plans.  The benefit of reducing the number
    of plans in the cache probably wouldn't be worth it. 
    David
    David http://blogs.msdn.com/b/dbrowne/

  • Best way to find the Customer of the logged in user

    Background: We're a tool provider. When our users grant the tool oauth access to their accounts, we need to get the customer ID and name as well as a list of accounts under the customer.
    What is not clear to us is how best to get the Customer name. It seems we need to make 2 requests; the first one is to use
    GetUserRequest to get the logged in user details, and then use the username as a filter with a
    SearchCustomersRequest call.
    The GetUserRequest returns the customer ID but not the name.  Hence, the need to use SearchCustomersRequest.
    We can't use GetCustomersInfoRequest because it requires us to provide a
    CustomerNameFilter which we obviously don't have.
    Is the above correct? Have we missed something anywhere?

    Yes you will need at least 2 calls e.g. GetUser -> SearchCustomers or
    GetUser -> SearchAccounts -> GetCustomer. Do any agencies use your tool? Keep in mind that an agency user cannot access the full client Customer details, i.e. in the same way that GetCustomer(clientCustomerId) will return a code 1001
    permissions error, SearchCustomers won't return the client's Customer object. This is by design since linking a client account to an agency only grants account level access - not customer level access. To ensure you get a full list of all accounts that a user
    can access (whether or not agency), please consider the GetUser -> SearchAccounts -> GetCustomer call pattern. For a related code example, see
    Search Customers by User in C#. 
    I hope this helps! Please reach out with any further related questions or concerns. 

  • Is there any way to disable the log-in process?

    i  have no need to re-enter my password to access my computer every time i restart, or after it falls asleep
    is there a way to disable the log-in screen and just go straight to my desktop?
    edit: i tried preferences  > security/privacy > de-select "require password"
    but i still get the log-in screen
    thanks

    Hi,
    take a look at:
    Preferences
    Users & Groups
    Login Options
    At the top you can (de-) activate the automatic login.
    Does it work for you?
    Greets

  • Does anyone know a way to replicate the SAPSID adm user ?

    We are trying to consult to one of our clients that using SAP/r3 with Oracle 10.2 DB.
    The client has a team of 4 DBAs, and the entire team members are using the username <SAPSID>adm in order to login to the DB and conduct changes and other operations.
    We believe this is the wrong way to handle the login authorizations, and we think that each DBA has to have his own user name in order to enable audit trail. The client's IT team manager claims they don't know how to create personal user names with the authorization level of the <SAPSID>adm, and they must use this user name for their needs and operations.
    Does anyone know a way to replicate the <SAPSID>adm user authorizations to some other DB admin user name so they will enable audit trail for each team member?

    Hello,
    You can create any number of users have authorizations similar to sidadm user but I don't think it will serve the purpose because of the way the things are designed to be maintained in SAP.
    However, you can utilize an alternative. Create individual OS IDs for each person who has to log on to OS. Assign 'sudo' access to these individual IDs to logon to 'sidadm' and 'orasid'.
    Thanks

  • How can I know the security role of the logged in user

    When you design an enterprise bean or Web component, you should always think about the kinds of users who will access the component. For example, an Account enterprise bean might be accessed by customers, bank tellers, and branch managers. Each of these user categories is called a security role, an abstract logical grouping of users that is defined by the person who assembles the application. When an application is deployed, the deployer will map the roles to security identities in the operational environment.
    But wondering when I log into my application with some user name and password (specified in my Oracle database),wondering how this works with the security role I created .How does J2EE know the security role of the logged in user.
    Thanks
    Manohar

    shet wrote:
    role at run time.
    When I login say as "manju" and password as "money" then how does it know that this user belongs to this security role.Is that the j2ee administrator has to say that user manju has this this security role.Programmitically how does it really work.I am confusedThe j2ee implementation assigns the roles using the JAAS module you have configured for your application on your application server. different JAAS modules get roles in different ways. many allow a single static role to be assigned using a config file. if using a database, often there will be configuration to specify additional database fields which specify the role for a given username.
    At runtime, a developer can test roles using methods like EJBContext.isCallerInRole().

  • Programatically Check if the logged in user is in the Administrators group in Project Server (C#, VS2010)

    Hi I would like to be able to check if the logged in user is a member of the administrator group programatically through c#
    I know that I can get the user's GUID / check if they are actually a user in project server (resource table in reporting DB) but I am having trouble finding out how to programatically check if they are a member of the "Administrators" group.
    Could somebody please provide a code sample of how to check if a user is in the administrators group when you have their GUID or username or name?
    I did not see a table in the reporting DB that has this so I am guessing this has to be done through the PSI..
    Thanks in advance!
    BTW.. i am just wondering is there a way to check each groups permission levels? was wondering that if it is possible, what is the best way to implement a similar security model to that of the actual project server 2010

    hi Amit :) I ended up finding the answer myself before you posted here but thank you for your reply anyways, it is basically the same thing that I did.
    This is what I ended up doing :) Basically I have three different types of users configured in my web.config - admins, readwrite users, and read only users. In my code here I loop through and find out who the person is. Based on what group they are in I
    can later show/hide different options in my application :)
    SvcSecurity.SecurityClient security = new SecurityClient(ENDPOINT_PROJ_SECURITY);
    string adminGroupsString = ConfigurationManager.AppSettings["adminGroups"];
    string readWriteString = ConfigurationManager.AppSettings["readWriteGroups"];
    string readOnlyString = ConfigurationManager.AppSettings["readOnlyGroups"];
    List<string> adminGroups = new List<string>(adminGroupsString.Split(';'));
    List<string> readWriteGroups = new List<string>(readWriteString.Split(';'));
    List<string> readOnlyGroups = new List<string>(readOnlyString.Split(';'));
    List<Guid> adminGroupIDs = new List<Guid>();
    List<Guid> readWriteGroupIDs = new List<Guid>();
    List<Guid> readOnlyGroupIDs = new List<Guid>();
    List<Project> projectList = new List<Project>();
    SqlConnection con = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["RDB"].ConnectionString);
    con.Open();
    SqlCommand command = new SqlCommand("SELECT * FROM MSP_EpmResource where ResourceNTAccount = @username", con);
    command.Parameters.AddWithValue("@username", this.User.Identity.Name);
    SqlDataReader reader = command.ExecuteReader();
    if (reader.Read())
    string resourceID = reader["ResourceUID"].ToString();
    //Get a list of security groups
    SvcSecurity.SecurityGroupsDataSet sgds = security.ReadGroupList();
    //Get the IDs of the required groups
    foreach (SvcSecurity.SecurityGroupsDataSet.SecurityGroupsRow ds in sgds.SecurityGroups)
    if (adminGroups.Exists(group => ds.WSEC_GRP_NAME == group))
    adminGroupIDs.Add(ds.WSEC_GRP_UID);
    else if (readWriteGroups.Exists(group => ds.WSEC_GRP_NAME == group))
    readWriteGroupIDs.Add(ds.WSEC_GRP_UID);
    else if (readOnlyGroups.Exists(group => ds.WSEC_GRP_NAME == group))
    readOnlyGroupIDs.Add(ds.WSEC_GRP_UID);
    bool isAdmin = false;
    //Go through each group using the id and check if the current
    //user is in that group (for example here check if the user is an admin)
    foreach (Guid id in adminGroupIDs)
    SecurityGroupsDataSet group = security.ReadGroup(id);
    foreach (SvcSecurity.SecurityGroupsDataSet.GroupMembersRow member in group.GroupMembers)
    if (member.RES_UID.ToString().Equals(resourceID))
    isAdmin = true;
    Session["createReport"] = "true";
    break;
    //If the user is not an admin then continue checking who they are
    if (!isAdmin)
    bool readWrite = false;
    //Check if the user is a read write group member
    foreach (Guid id in readWriteGroupIDs)
    SecurityGroupsDataSet group = security.ReadGroup(id);
    foreach (SvcSecurity.SecurityGroupsDataSet.GroupMembersRow member in group.GroupMembers)
    if (member.RES_UID.ToString().Equals(resourceID))
    Session["createReport"] = "true";
    readWrite = true;
    break;
    //If the user is not a read write group member either then check if they are a team member
    if (!readWrite)
    foreach (Guid id in readOnlyGroupIDs)
    SecurityGroupsDataSet group = security.ReadGroup(id);
    foreach (SvcSecurity.SecurityGroupsDataSet.GroupMembersRow member in group.GroupMembers)
    if (member.RES_UID.ToString().Equals(resourceID))
    Session["createReport"] = "false";
    break;
    Cheers! :)

  • Dashboard based on Crystal Report's Latest instances for the logged in user

    Hi,
    I am trying design a dashboard based on LiveOffice-crystal report's latest instance for the logged in user. Also there is row level security in the universe on which the crystal reports is created.
    In the live office connection i have selected 'latest instance by current user' in the refresh option and published the dashboard to InfoView.
    when i open the dashboard in InfoView , i find the row level restrictions being applied for different users. But the data retrived is always on-demand data and not based on the latest instance of the logged in users.
    Can anyone throw some light on this issue.
    Thanks

    Hi,
    I am trying design a dashboard based on LiveOffice-crystal report's latest instance for the logged in user. Also there is row level security in the universe on which the crystal reports is created.
    In the live office connection i have selected 'latest instance by current user' in the refresh option and published the dashboard to InfoView.
    when i open the dashboard in InfoView , i find the row level restrictions being applied for different users. But the data retrived is always on-demand data and not based on the latest instance of the logged in users.
    Can anyone throw some light on this issue.
    Thanks

  • Remote control kicks you out when trying to change the logged in user by clicking on the red N

    I'm running Zen 6.5 with the latest updates and the latest agents... I can
    successfully remote control a workstation through ConsoleOne but I have 2
    issues:
    1. If I'm in the middle of a remote session and I right click on the red
    N icon and change the user, it kicks me out and says "operation is
    currently disabled for the logged in user".
    2. Whenever I log in it changes the desktop background to blank (it's
    actually a blue background) and it doesn't change it back after I close
    the remote session. If I physically go that workstation and logout and
    log back in, it still keeps that same blue background.

    Gilbert,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Determine the role of the logged in User

    Dear experts,
    I am working on SRM 7.0 version, I want to determine wether the logged in user is an approver, buyer or a general user ( Role determination ). Can you please suggest a way for this.
    Thanks & Regards,
    Murthy

    Hello Murthy,
    What about simply use function module BBP_USER_GET_DETAIL with importing parameter USERNAME = SY-UNAME ?
    You will get all user's roles in table ACTIVITYGROUPS.
    Regards.
    Laurent.

  • Programatically Check if the logged in user matches with user in a list item

    Hi All, 
    I have a custom list with 1) title column 2) People column. 
    I simple need to check if the logged in user = user in the column 2, and if yes fill a List<> with column 1 value. 
    But when comparing, the value in list item is in different format than what we get by user.ToString() 
    Following is what I tried: 
    SPUser user = oWeb.CurrentUser;
    List<String> usergrps = new List<String>();
    foreach (SPListItem itemA in GrpSubsItems)
    if (itemA["SubscribedBy"].ToString() == user.ToString())
    usergrps.Add(itemA["Group"].ToString());
    itemA["SubscribedBy"].ToString() gives = 10;#Some Name
    where as user.ToString() gives = i:0#.w|domain\user 
    Kindly guide if my approach is not correct. Thanks. 
    Regards, Nayan

    Hi Nayan,
    Please modify the code like below:
    SPUser user = oWeb.CurrentUser;
    List<string> usergrps = new List<string>();
    foreach (SPListItem itemA in GrpSubsItems)
    string userName = itemA["SubscribedBy"] as string;
    SPFieldUserValue userA = new SPFieldUserValue(itemA.ParentList.ParentWeb, userName);
    if (userA.LoginName==user.LoginName)
    usergrps.Add(itemA["Group"].ToString());
    More information:
    http://ethan-deng.blogspot.com/2013/03/get-spuser-from-user-column-there-are.html
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Group-Role Mapping OBIEE 11.1.1.6

    Scenario: I have created some groups in console. Let the groups be A, B, C and D. Now I want to create a role call it Manager and map A,B, C and D groups to Manager role in EM. And then give permissions (like Dashboard access) on Manager role. Issue:

  • Quick Office in C6-00

    Hi Could you please tell us why Quick Office software which is pre installed in Nokia C6-00 is only trail version.. but you guys were already given full version for Eseries and Nseries mobile and even it was installed full version of quick office for

  • Switch for showing my telephonenumber locked

    The switch for showing my number is locked. My iPhone shows unknown number when I call someone. I think it has something to do with my iCloud account. I tried to put my SIM card into another iPhone and my number showed. So I got a new iPhone and down

  • How to trigger a workflow when a bank record of an employee is delimited

    Hi Friends,   I want to trigger a workflow when a bank record of an employee is delimited(Infotype  IT0009). When delimiting the bank info, the old record's ENDDA is changed and a new record is created with the BEGDA. In this case two events are trig

  • Usage = standby....whats problem?

    i currently running ios 4.2.1.. and i had a bit problem about the usage and standby meter is exactly the same counters... and i already off whatever to keep the battery..and it doesn't work.. but when i switch on the airplane mode and remove simcard.