How to getcapabilities of user who logged into IDM?

Hi All,
I am having the same problem. I have posted this question earlier also. But some one said forms will always have the refrence of the configurator.
But in the documentation its is said that <ref>:display.session</ref>, will be a valid Identity Manager Sesssion. More over iam using passing the value ie <ref>:display.session</ref>, to get the resources that logged in user have access. There its getting corretly based on the logged in user. I am giving the two codes below.
1. <Field name='waveset.resources'>
<Display class='Label'>
<Property name='value'>
<invoke name='getResources' class='com.waveset.ui.FormUtil'>
<ref>:display.session</ref>
</invoke>
</Property>
</Display>
</Field>
The above code gets the resources the logged in user has access correctly based on who logs in. Its not getting the resources that "Configurator" has access.
2. <Field name='Capability'>
<Display class='Label'/>
<Default>
<invoke name='getCapabilities' class='com.waveset.ui.FormUtil'>
<ref>:display.session</ref>
</invoke>
</Default>
</Field>
The above code gives the capability of the "Configurator", irrespective of who evers logs in.
can ony one help me to sort out this problem if u have achieved prviously plz post your piece of code that would help me to to proceed furthur...
Thanks in advance
Regards,

Hi,
When adding to the title:
The default available on the Insert menu is the full page item list &PageItems.
However the undocumented way to add a single page item is to type &PageItemName which in this case will be the calculation item for the USER function.
For example:
Calculation TheUser defined as USER.
Place TheUser on pageitems area.
Add &TheUser to page title (does not require &PageItems to be present)
regards
John

Similar Messages

  • Is there an application to monitor users who log into Windows Server 2012 R2?

    I'm looking at Family Safety Feature in Windows 8 and like what they can do.  I have a request to monitor, track users who log into Windows Server 2012 R2 to see how many users login, how long each login is for each user so a monthly report can be generated.  
    1.  I just wonder if Windows Essential 2012 can be used for this purpose or not.  If it can, is Windows Essential 2012 a feature can be added or installed on Windows Server 2012 R2?
    2.  If Window Essential 2012 cannot be used for this purpose, is there any feature in Windows Server 2012 R2 that can be used for this purpose?
    3.  Is there any other suggestions?
    Thank you for your help.
    Thanks and Regards,
    Hien Phan

    Hi Hien,
    Anything updates?
    It seems that there is no feature can do that. I agree with Tim that you can check the event logs. In general, the event 4624 would be created when a user was logged on, and the event 4634 would be created when a user account was logged
    off.
    More information:
    Tracking User Logon Activity Using Logon Events
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • List of users who logged into database

    Hi All.
    I want to know the list of users who logged in to database and the list of users for whom the password authentication is failed.
    I think we can get the logged in users information from v$session but i am trying to find the users list who failed to log in to the database with password authentication failure.
    Please help me...
    Thanks & Regards,
    Rajesh Amathi

    Hi,
    I suggest use trigger on system logon event. This is for general situation.
    Ex:
    create table user_log
    user_id varchar2(30),
    session_id number(8),
    host varchar2(30),
    last_program varchar2(48),
    last_action varchar2(32),
    last_module varchar2(32),
    logon_day date,
    logon_time varchar2(10),
    logoff_day date,
    logoff_time varchar2(10),
    elapsed_minutes number(8)
    create or replace trigger logon_audit_trigger
    AFTER LOGON ON DATABASE
    BEGIN
    insert into user_log values(
    user,
    sys_context('USERENV','SESSIONID'),
    sys_context('USERENV','HOST'),
    null,
    null,
    null,
    sysdate,
    to_char(sysdate, 'hh24:mi:ss'),
    null,
    null,
    null
    END;
    For unsuccessful logons:
    CREATE TABLE connection_audit (login_date DATE, user_name VARCHAR2(30));
    -- trigger to trap unsuccessful logons
    CREATE OR REPLACE TRIGGER logon_failures
    AFTER SERVERERROR
    ON DATABASE
    BEGIN
    IF (IS_SERVERERROR(1017)) THEN
    INSERT INTO connection_audit (login_date, user_name) VALUES(SYSDATE, 'ORA-1017');
    END IF;
    END logon_failures;
    Please refer for more several combination: http://psoug.org/reference/system_trigger.html
    Edited by: Ulfet Tanriverdiyev on Jul 7, 2010 10:49 PM

  • How to view which users have logged into Hyperion Planning

    Hi all,
    I'm trying to determine the best way to view users that have logged into Hyperion Planning (who and when). Is there an option in Shared Services or can this be viewed through Planning by the administrator? Any insight would be greatly appreciated.
    Thanks!

    Planning has never been the best at providing that information, you can look at the statistics page in planning which is pretty poor in my opinion.
    The other option is audting but once again it doesn't really audit users logging in and out.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How do I prevent users from logging into my machine in single user mode?

    I established an standard accounts for my family.  My son figured out that if he logs into the machine in Single User mode that he logs in as the root user.  He then proceeded to create another user with administrative privileges and change his account to administrator then delete the other account.  Funny thing about this is that as much as OS X is secure from outside threats a simple command-s gets you right into the very heart of the machine......

    You can set a firmware password. The firmware password only allows you to start up in normal mode, so if you try to start in single-mode user or safe mode, your Mac will ask you for a password.
    The process to turn it on depends on the OS X version you have. Open  > About this Mac, check the Mac OS X version and follow the steps depending on your OS X version.
    If you have 10.7 or 10.8:
    1. Hold Command and R keys while your Mac is starting up.
    2. After starting up into OS X Utilities, go to Utilities menu (on the menu bar) > Firmware Password Utility, and enable the firmware password.
    3. Restart the Mac.
    If you have 10.6 or older:
    1. Insert the Mac OS X disc and hold the C key while your Mac is starting up.
    2. Choose your language, go to Utilities menu (on the menu bar) > Firmware Password Utility, and enable the firmware password.
    3. Restart the Mac.
    Also, this will protect your Mac against thieves because they won't be able to erase the hard drive without knowing the firmware password. Don't forget the password, because only Apple can reset it if you don't know this password

  • How to add the USER who logged in discoverer desktop to the title

    i want to add the user name on the title above the page body of discoverer desktop next to the &DATE and & TIME in title

    Hi,
    When adding to the title:
    The default available on the Insert menu is the full page item list &PageItems.
    However the undocumented way to add a single page item is to type &PageItemName which in this case will be the calculation item for the USER function.
    For example:
    Calculation TheUser defined as USER.
    Place TheUser on pageitems area.
    Add &TheUser to page title (does not require &PageItems to be present)
    regards
    John

  • How to find out if a user is logged into a windows XP or VISTA machine

    Hi,
    Could somebody please tell me how to find out remotely over a LAN, whether a user is logged into a computer that is running windows XP/VISTA or not? How can this be programmatically done if we know the name of the remote machine?
    Thanks.
    Ravisara

    Hi,
    Thanks for all the replies.
    Actually it seems that my question has either been misunderstood or has been badly phrased by me.
    What I want to know precisely is the way to find out if a user is logged into a machine or not. Say for example in a LAN there are three computers called A, B and C. If my Java program is running on machine C, how can the program check whether a user is logged into machine A? Assuming JRE is present in all three machines, the machines have as their OS windows XP or VISTA and all machines are connected to a windows domain(Windows 2003 server based network)
    The idea here is to identify all the computers in a network that users are not logged into and then to remotely shutdown those computers in order to minimize wastage of electricity(preferably after a particular time of the day in an organization).
    Any replies would be much appreciated.
    Kind regards,
    Ravisara

  • How to find out the users currently logged into ODI

    Hi all,
    How to find out the users currently logged into ODI Work Repository?
    Thanks.

    Hi,
    It stores all the final queries in work rep table i.e "SNP_SESS_TXT_LOG" and the column is "TXT".
    Here u can find all the ODI bkp process queries.Pls specify the SESS_NO for purtivular task u want to check which u can get this in ODI operator.
    I dont think so that it will keep the substituted value(because its implicit and temporary process) but it will keep all the default values in the table SNP_VAR_SESS and the column is "DEF_V".
    Thanks,
    katukota

  • How to capture name of user that logs into Portal?

    Im trying to create a report that returns information from a
    Profile table. The UserId is the key to the Profile table.
    Since this report returns information dependent upon who runs
    it, I would make use of the USER functionality in SQL to isolate
    the row in the Profile table. However, this technique wont
    work through Portal because the user logs into Portal not the
    database.
    What technique (keyword, API, etc.) should I use to capture the
    username of the person who logged into Portal?
    Thanx,
    JE

    Try this:
    PORTAL30.wwctx_api.get_user
    Adam

  • How to get the Login Id (UPI) of the user who logged in the system?

    hi,
    I'm having a webdynpro application. In which i want to get the values from the R/3 based on the user who logs in.
    so i need to get the UPI(login id) of the user who logs in. how to get the UPI of the user who logged in??
    please help me out with the detailed procedure.
    Thanks & Regards,
    Suresh

    Hi Suresh,
    Try the following code.
    ISearchResult rst = UMFactory.getUserFactory().getUniqueIDs();
                      IUserFactory usf = UMFactory.getUserFactory();
                      IUser iuser = null;
                      IUserListElement userElement = null;
                      int i = 0;
                      while (rst.hasNext()) {
                            iuser =
                                  UMFactory.getUserFactory().getUser(rst.next().toString());
                            String email = iuser.getEmail();
                            String fname = iuser.getFirstName();
                            String lname = iuser.getLastName();
    I have already used this code for the similar requirement.
    regards
    Anil

  • How can i know about any users who log on sap last one month..all data and

    Dear all,
    how can i know about any users who log on sap last one month..all data and  transaction code they used in a month.
    Regards,
    ASHUTOSH
    9891595497

    Dear Ashutosh,
    I think your question is in the wrong forum. This is for SAP MDM related questions and answers. SAP MDM does not use Transaction codes. So you may not get much help here.
    Please try posting your question in the ABAP forums and you may get the right resources to help you.
    Thanks.
    Siva K.

  • How to identify the employee who logged-in using a view in peoplesoft?

    I have a View in peoplesoft, that says
    SUPERVISOR_ID = ' ' somewhere in the SQL. How do I keep this dynamic so that, it will identify the employee who logs into the system and assigns that id to supervisor_id field.
    I know we can use %EmployeeID in peoplecode.

    Peopletools has this built in out of the box. Add field OPRID to the record and set it as key and not a listitem and Peopletools will automatically add a where clause to the view based on the current user.
    After this change the view sql to join to Oprid.
    If you do not want to add OPRID field you can use a dynamic view to fill the supervisorid with %employeeid.
    If thid is a search record you can also use SearchInit event to set supervisorid to %employeeid.
    Al lot of differt possibilities, depends one what you want to use.

  • How to find a user who created message in satelite system ?

    hi all,
    Does anybody know how to find a user who created message in satelite system, but when there is no business partner created for him in Solman ? In tx crm_dno_monitro, crmd_order or dnotifwl  there isn`t any information. Is there any Tx or something where i can check it ?
    Regards,
    M.

    Hi,
    BP should ne maintained for the user in satellite system as a identification in solman system.
    how you are trying to create a message in satellite system..
    if you are using help-> create support message then, you can get the message log details on the table BCOS_PROT.
    please update us
    Thanks,
    Jansi
    Edited by: shivjansi on Jan 25, 2012 7:44 PM

  • Users cannot log into Remote Desktop after 3/11/2015 update!

    I have a simple network where users can log into a Windows SBS 2008 server with Remote Desktop to access various applications.  This worked quite smoothly until this morning, after the updates of last evening. (3/11/2015)
    When users tried to log into the Remote Desktop this morning their credentials were rejected, as if their username and/or password were incorrect.  Even I (as the administrator) could not log in remotely.  Finally I connected a monitor and keyboard
    directly to the server and was able to log in without an issue.  After logging in directly I was able to connect through remote desktop.
    This method worked for my other users as well - after I logged them in directly they were able to use remote desktop no problem.
    The trouble is that I have a couple dozen users, and this is an issue that should not be occurring.  What happened in the last update to cause remote desktop to reject users credentials?  Why does it only work after the user logs in directly? 
    And most importantly, how do I fix this?
    A few notes:
    Simply browsing for files on the server also asks for the user's name and password, and this works as well.  This is only a remote desktop issue.
    I have already checked to make sure the domain was correct.  It was.
    I have already checked to make sure the usernames and passwords were correct.  They were.
    I have already checked to make sure this was not a unique issue for a single (or limited number) of users.  This issue effected
    all users all the network.
    Thank you very much for your help,
    Dustin

    I'm curious here...  If the server is rebooted, does it put the RDS users back into a "credentials failed" situation?  If so, could you please have them log in with credentials:
    domain.local\username    (I suspect they may be currently using domain\username)
    and see if that fixes the RDS problem without having to first log into the server directly.
     The ".local" may be ".lan" or ".somethingelse" depending on how you initially configured your domain, but the default for SBS 2008 is ".local"
    Merv Porter
    =========================
    That's a good question - the server will auto-reboot this evening and I'll test again in the morning. 
    You are correct that we've been using domain\username.  I tried domain.local\username (which is the way we've set up), and that did not work either.
    I'll let you know how things turn out tomorrow morning.  I don't want to mess with my users anymore today. :P
    Dustin

  • I need a script that will find the computer a user last logged into.

    I am still learning scripting, I need a script that will allow me to pull in usernames from a csv file. Find what computer they last logged into and output that to an csv file.
    I have looked all over and can't find exactly what I need.
     I found the following script but I need  to add the resuitsize unlimited but can not figure out where to put it we have a large environment. Also I need to be able to grab username from a csv file. Any assistance you can provide is appreciated.
    ##  Find out what computers a user is logged into on your domain by running the script
    ##  and entering in the requested logon id for the user.
    ##  This script requires the free Quest ActiveRoles Management Shell for Active Directory
    ##  snapin  http://www.quest.com/powershell/activeroles-server.aspx
    Add-PSSnapin Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue
    $ErrorActionPreference = "SilentlyContinue"
    # Retrieve Username to search for, error checks to make sure the username
    # is not blank and that it exists in Active Directory
    Function Get-Username {
    $Global:Username = Read-Host "Enter username you want to search for"
    if ($Username -eq $null){
    Write-Host "Username cannot be blank, please re-enter username!!!!!"
    Get-Username}
    $UserCheck = Get-QADUser -SamAccountName $Username
    if ($UserCheck -eq $null){
    Write-Host "Invalid username, please verify this is the logon id for the account"
    Get-Username}
    get-username resultsize unlimited
    $computers = Get-QADComputer | where {$_.accountisdisabled -eq $false}
    foreach ($comp in $computers)
    $Computer = $comp.Name
    $ping = new-object System.Net.NetworkInformation.Ping
      $Reply = $null
      $Reply = $ping.send($Computer)
      if($Reply.status -like 'Success'){
    #Get explorer.exe processes
    $proc = gwmi win32_process -computer $Computer -Filter "Name = 'explorer.exe'"
    #Search collection of processes for username
    ForEach ($p in $proc) {
    $temp = ($p.GetOwner()).User
    if ($temp -eq $Username){
    write-host "$Username is logged on $Computer"

    If you are querying by user "resultset size" will be of no use.
    You also have functions that are never used and the body code doe snot look for users.
    Here is what you scrip looks like if printed well.  It is just a jumble of pasted together and unrelated items.
    ## Find out what computers a user is logged into on your domain by running the script
    ## and entering in the requested logon id for the user.
    ## This script requires the free Quest ActiveRoles Management Shell for Active Directory
    ## snapin http://www.quest.com/powershell/activeroles-server.aspx
    Add-PSSnapin Quest.ActiveRoles.ADManagement -ErrorAction SilentlyContinue
    $ErrorActionPreference = "SilentlyContinue"
    # Retrieve Username to search for, error checks to make sure the username
    # is not blank and that it exists in Active Directory
    Function Get-Username {
    $Global:Username = Read-Host "Enter username you want to search for"
    if ($Username -eq $null) {
    Write-Host "Username cannot be blank, please re-enter username!!!!!"
    Get-Username
    $UserCheck = Get-QADUser -SamAccountName $Username
    if ($UserCheck -eq $null) {
    Write-Host "Invalid username, please verify this is the logon id for the account"
    Get-Username
    get-username resultsize unlimited
    $computers = Get-QADComputer | where { $_.accountisdisabled -eq $false }
    foreach ($comp in $computers) {
    $Computer = $comp.Name
    $ping = new-object System.Net.NetworkInformation.Ping
    $Reply = $null
    $Reply = $ping.send($Computer)
    if ($Reply.status -like 'Success') {
    #Get explorer.exe processes
    $proc = gwmi win32_process -computer $Computer -Filter "Name = 'explorer.exe'"
    #Search collection of processes for username
    ForEach ($p in $proc) {
    $temp = ($p.GetOwner()).User
    if ($temp -eq $Username) {
    write-host "$Username is logged on $Computer"
    I suggest finding the original code then use the learning link at the top of this page to help you understand how it works in Powershell.
    ¯\_(ツ)_/¯

Maybe you are looking for

  • What happens to the original photo after editing?  Does it get replaced by the edited photo?

    I just bought my first iPhone(5).  On Android, when editing a photo, the original stays in your gallery and the edited photo gets placed right next to it.  So what I want to know is, When editing a photo in the photo app, what happens to the original

  • Photos and contacts will not sync from iCloud to iPhone

    Hi Everyone I have an iPhone 4 with the latest iOS (5.1.1), and have had to restore my phone due to sluggish response from the device, however I have had problems when setting up my phone again. When the phone was restored and I wanted to restore a b

  • Busy error message when moving videos to a new folder

    I am trying to move videos from my iphoto to a folder I created on my desktop. I put them all into an iphoto album, then I selected all of them and tried to drag them over to the folder on my desktop. I got the following message: Selected items canno

  • Macbook crash caused by video

    Problem: My Macbook crashes and reboots when I watch You Tube or other video content or when I do video chat sessions (e.g., Google Hangouts). It doesn't crash every single time I watch a video or do a chat, but it does crash often and unpredictably.

  • How to see the scripts for the view.

    Hi, There are some views in database. I want to see the scripts used to create those views. please let me know any commands that will be useful for this. Thanks.