Disable the user in the resource thru IDM

Hi I am doing active sync.while doing activesync I am creating the user in another resources also.while activesync I want to disable the user in IDM and also in the resources based on one user attribute. I am using "waveset.disabled=true" to disable the user.
with this the user is getting disabled in lighthouse but not in resources like LDAP.How can I disable the user in resource also , which attribute need to be set to disable the user in resources also?. Any help will be great.

I added the following code to the bottom of active sync form to disable a user from all resources without luck. </br>
The side effect of the following code is to remove all resource names from waveset.resources list. What did I miss?
Thanks in advance for any clue.
<FieldLoop for='name' in='waveset.accounts[*].name'>
<Field name='accounts[$(name)].disable'>
<Expansion>
<s>true</s>
</Expansion>
</Field>
<Field name='update.accounts[$(name)].disable'>
<Expansion>
<s>true</s>
</Expansion>
</Field>
</FieldLoop>

Similar Messages

  • Hiding/Disabling the resources tab under project management.

    Hi,
    We need to hide/disable the resources tab in project management screen. We are not using project resource management module and also the Profile Option "PA: Licensed to use Project Resource Management" has been set to "No".
    Can someone suggest a solution for the same.
    Regards,
    Rakesh Menon

    I already got an response to the issue from Julia through Oracle Community...
    Below is the solution -
    For the Project Management Responsibility where you want your Resource Tab to be disabled:
    Go to a System Administrator responsibility - Security - Responsibility-Define.
    Look for your resposibility of Project Management.
    Under Menu Exclusion Tab add a line with Type Menu and name "Project Resource Sub Tab".
    Click Save button and then go to check in your responsibility if the Resources Tab is disabled. (it should be).

  • How to disable the Resource Manager

    I'm trying to deactivate the resource manager for oracle 9i with the next statment:
    alter system set resource_manager_plan=''
    but then i get the next error starting the database:
    oracle@toolshed ~/backup> dbstart
    SQL*Plus: Release 9.0.1.0.0 - Production on Mon Apr 1 15:54:45 2002
    (c) Copyright 2001 Oracle Corporation. All rights reserved.
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 571246020 bytes
    Fixed Size 280004 bytes
    Variable Size 352321536 bytes
    Database Buffers 218103808 bytes
    Redo Buffers 540672 bytes
    Database mounted.
    ORA-01092: ORACLE instance terminated. Disconnection forced
    SQL> Disconnected from Oracle9i Enterprise Edition Release 9.0.1.0.0 - Production
    With the Partitioning option
    JServer Release 9.0.1.0.0 - Production
    Database "WAVECODE" warm started.

    user7244870 wrote:
    Dear all,
    How to use dbms_resource_manager?
    Can you get a example how to use it.when all else fails Read The Fine Manual
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28419/d_resmgr.htm

  • Disable user thru IDM ...

    I added the following code to the bottom of active sync form to disable a user from all resources without luck.
    The side effect of the following code is to remove all resource names from waveset.resources list. What did I miss? Thanks in advance for any clue. <FieldLoop for='name' in='waveset.accounts[*].name'> <Field name='accounts[$(name)].disable'> <Expansion> true </Expansion> </Field> <Field name='update.accounts[$(name)].disable'> <Expansion> true </Expansion> </Field> </FieldLoop>

    why are you updating the update object?
    if you do accounts[Resname].disable = true it will disable the account as well. then use waveset.disable for lighthouse. I did this exact thing last week and it worked fine. IF you have problems, feel free to email me
    -Dana Reed
    AegisUSA
    Denver, Colorado
    [email protected]
    "Now hiring best in breed IDM professionals..inquire via email"

  • How to get the list of IDM users in a workflow.

    Hi,
    I wanted to get the list of IDM users in a workflow into a list.Now I tried to use getObjects Method,I do not have the display session here,I passed the workflow context or WF_Context.But it is giving exception like context null .
    I used the same method in a form and it worked.How can I get the list of users in a workflow.It is for customizing reports.
    Thanks and Regards,
    Pandu
    Any Idea on how to customize reports including attributes from resources and auditing attributes etc.Any help would be really great.
    Thank you.

    Hi John,
    I get this exception WorkItemForm: no id.
    This comes when I click on the other column.I generate the data needed in a report and display it as a sorting table when I get the data.
    I want to give the user ability to sort data by different columns.But when I click any column I get the exception
    WorkItemForm: no id
    How can I save a workitem on a manual form before invoking it from a manual action.
    Here is the code snippet
    <Field name='tblUsers'>
            <Display class='SortingTable'>
              <Property name='selectEnable' value='false'/>
              <Property name='align' value='left'/>
              <Property name='linkEnable' value='false'/>
              <Property name='sortEnable' value='true'/>
              <Property name='width' value='400'/>
              <Property name='columns'>
                <List>
                  <String>Account id</String>
                  <String>First Name</String>                      
                </List>
              </Property>
            </Display>      
            <FieldLoop for='row' in='_searchList[*]'>
              <Field name='enduserId'>
                <Display class='Label'>
                  <Property name='value'>
                    <block trace='true'>
                      <invoke name='getAccountId'>
                        <ref>row</ref>
                      </invoke>
                    </block>
                  </Property>
                </Display>
              </Field>
              <Field name='lblfirstname'>
                <Display class='Label'>
                  <Property name='value'>
                    <invoke name='getAttribute'>
                      <ref>row</ref>
                      <s>firstname</s>
                    </invoke>
                  </Property>
                </Display>
              </Field>
         <FieldLoop>      I think I may need to save some workItem,That is why this may be giving the error.How can I correct this.
    Thanks,
    pandu

  • Is there any way to disable the objects owned by a user?

    Hai every body....My problem is..
    I had created 60 users granting them connect and resource privileges in oracle(8.1.5.0.0).All of the users are working under their logins(users)...Every thing is going fine...But now i wanted to disable the objects owned by those users
    (60 Users) for a period of 2 days,After that i wanted to enable them....Is there any way to disable the objects owned by them with out dropping the users?(The users should be able to work as prevoiusly on the new objects they will create after i disabled the objetcts owned by them previously)?

    hi
    if my understanding is right you want to disable the users for 2 days for any reason let say he is on holiday for 2 days then why dont u lock this user and submit the job for unlock after two days.
    Khurram Siddiqui
    [email protected]

  • User does not exist in the resource

    Hi,
    Please help me regarding the following situation
    I have created resource(Siebel) account for a user(eg: 00012345) through IDM, Here IDM adds 'A' to the accountID while creating the resource(Siebel) account. Here IDM user account is 00012345 and resource account is A00012345. And I have Unliked and Unassigned for that user from the resource(Siebel) through the admin page.
    Then I have open the user accout through admin page and Assigned the resource(Siebel) then went to Attributes page then clicked on "Refresh" button then its giving error as "account "00012345" does not exist in Siebel resource". If i created the resource account without adding "A" to account ID then it would not be giving this error.
    Please suggest me to solve this.

    Have you updated your Identity Template for the resource
    Identity Template Defines account name syntax for users. For most resources, the syntax is the same
    as the account ID. However, the syntax is different if the resource uses hierarchical
    namespaces.

  • Is it possible to disable the user acces to online adobe cloud store services?

    Hello, i need to know if it is posible to disable the cloud storage options to a designed user
    Thank you

    TThanks for the info.
    CAn can you elaborate on how I would set up a security policy.  Is it with a GPO?
    thank you.

  • Why can I not disable the guest user in the 10.8.2 update? I have never enabled the guest user, but after the update, it was automatically enabled with a "managed" tag. It is not selectable even after entering my admin password to unlock the options.

    Why can I not disable the guest user in the 10.8.2 update? I have never enabled the guest user, but after the update, it was automatically enabled with a "managed" tag. It is not selectable even after entering my admin password to unlock the options. I was able to select the account under "parental controls", but again, could not delete it. Why Apple? Why?!!????

    SOLVED Ok. I actually was able to disable it. I had to actually log in as the guest user to make it accessible in the preference window. Then I disabled it and logged out. Apologies if this was obvious for some people, but I have had some sort of issue with something every update since Snow Leopard.

  • How to disable the annoying security warning for all users in Windows Server 2008 R2

    Hi,
    The employees from the administration complain all the time about the different types of security warning that they get when trying to run some applications which are used frequently.
    Since the number of the users is too big it is unfeasible to go through all the users and disable the User Access Control at their account settings.
    Is it possible to achieve this through given account policy settings. I want to perform the changes on the server so it applies to *all* (or maybe those of Administration department) users.
    One useful information here can be the following: we use 2 different severs, the application which cause the errors are in the terminal server, and the users are in the main server. Where should I perform the changes?
    Best,
    D

    Hiya,
    It could sound like that one indeed. There are a few options to go for, however it should be fairly easy to find out :)
    Create a test GPO and apply to a limited amount of users. GPUpdate and verify that the GPO has been applied using rsop.msc
    Then open the application to test and see if it has the desired effect. You might need to change more than one setting, depending on the application and desired behavior.

  • How can I disable the 'First Run' and 'Whats New' pages from showing after updating Firefox for all users that log onto a system.

    I am a system administrator and need a way to set a global preference to not open the Whats New and first run pages. I found the browser.startup.homepage_override.mstone preference in the user profile but want to be able to set this globally.

    Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.
    Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
    pref("general.config.filename", "mozilla.cfg");
    pref("general.config.obscure_value", 0); // use this to disable the byte-shift
    See:
    * http://kb.mozillazine.org/Locking_preferences
    You can use these functions in mozilla.cfg:
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes in current session
    lockPref(); // lock pref, disallow changes
    *http://kb.mozillazine.org/browser.startup.homepage_override.mstone

  • Create user successful but the resource is still in provisioning status

    Hi Friends,
    I have installed AD cnnector in OIM 11g successfully. And tried to provision it.
    Create user was successful and there are no errors in the log. But still the resource status is showing as provisioning instead of provisioned. Please let me know, how to resolve this issue.

    Go to Create User task in AD Process Definition and then go to Task to Object Status Mapping tab, set the status as Provisioned for Completed (C as Status) and try again.

  • How to disable the print "ALL" feature for users?

    Is there a way to limit the user from printing an entire Adobe Acrobat  document by accident.  We have many documents that are 50 pages and more  and often times, the user only needs to print several pages but because  of CCS (Continual Clicking Syndrome), they blast right through the  print menu and send the whole document to the printer. 
    The easiest way would be to disable the "ALL" feature (radio button) in  the "Print Range" field.  However, I do not know if that is available or  if there is code I can enter in each document.

    It's not possible.
    However, you can create buttons on your document that "help" the user print
    just a part of the document: a certain page range, just the current page,
    etc.

  • Disable the characteristic window in sales order and user-exit to pick up

    Hi Freinds,
    I am working on 1 VC assignment in which
    1. I have to pick up the characteristic values selected in VA02 in sales order before saving the change sales order.
    2. I have to Disable the characteristic window (with characteristic name and value) appear after click on u2018item detail : configurationu2019 button in sales order (if the chracterstic say 'Approval' having the value 'Yes')
    3. I have to disable the characteristic window after selecting the one of the characteristic value to 'Yes' in VA02
    So I need to fetch this character value witnin sales order before saving the change sales order and need to restrict the user to change any other characteristic value(disable the characteristic window) .
    Please guide for any user exit at configuration side to export and import the values in sales order and disable the characteristic window to restrict the user from changing any other characteristic value for the item.
    Please do the needfull.
    Best Regards,
    Vikram Chavan

    Hi,
    Check....
    Exit Name               Description     
    LMR1M001               User exits in Logistics Invoice Verification     
    LMR1M002               Account grouping for GR/IR account maintenance     
    LMR1M003               Number assignment in Logistics Invoice Verification     
    LMR1M004               Logistics Invoice Verification: item text for follow-on docs     
    LMR1M005               Logistics Inv. Verification: Release Parked Doc. for Posting     
    LMR1M006               Logistics Invoice Verification: Process XML Invoice     
    MRMH0001               Logistics Invoice Verification: ERS procedure     
    MRMH0002               Logistics Invoice Verification: EDI inbound     
    MRMH0003               Logistics Invoice Verification: Revaluation/RAP     
    MRMN0001               Message output and creation: Logistics Invoice Verification
    Reward points if useful....
    Regards
    AK

  • How do I compare two csv files and not disable the user if the username is found in the 2nd file using powershell?

    Hi Guys
    I have two csv files with the following headers and I need to import both files into the script to check whether the StaffCode is present in the Creation/Renewal of Contract csv in a DisableAccount Script so I can stop any action to disable the account as
    the staff has renewed the contract with the company so the account should not be disabled.
    However my accounts are still being disabled. I am not sure now to construct the query so that it detects that the account is to be left alone if the staffcode is present in both files
    I does recognize that the $staffcodeN in the renewal file matches the $staffcode in the termination file
    but still proceeds to disable or set an expiry date to the account anyway based on the termination file. 
    How do I stop it from doing that?
    1)In the Creation/Renewal of contract file the following headers are present
         -  TranCode,StaffCode,LastName,FirstName,SocialSecurityNo,DateJoin,Grade,Dept,LastUpdateDate,EffectiveDate
    2)In the Disable of contract file the following headers are present
        - TranCode,StaffCode,LastName,FirstName,SocialSecurityno,LastDateWorked,Grade,Dept,LastUpdateDate,
    My data is not very clean , I have a-lot of special characters such as = , ' ,/ and \ characters to remove first before i can compare the data
    Thanks for the help in advance.
    Yours Sincrely
    Vicki
    The following is a short snippet of the code 
    $opencsv = import-csv "D:\scripts\Termination.csv"
    $opencsv2 = import-csv "D:\scripts\RenewContractandNewStaff.csv"
    foreach ($usertoaction in $opencsv) 
    $Trancode = $usertoactionTranCode
    $StaffCode = $usertoaction.StaffCode.replace("=","").replace('"','')
    $LastName = [string]$usertoaction.LastName.Replace("/","\/").Replace(",","\,")
    $FirstName = [string]$usertoaction.FirstName.Replace("/","\/").Replace(",","\,")
    $socialsecurityno = $usertoaction.SocialSecurityNo.replace("=","").replace('"','')
    $DateJoin = $usertoaction.DateJoin.replace("=","").replace('"','')
    $LastDateWorked = $usertoaction.LastDateWorked.replace("=","").replace('"','')
    $Grade = [string]$usertoaction.Grade
    $Dept = [string]$usertoaction.Dept
    $LastUpdateDate = $usertoaction.LastUpdateDate.replace("=","").replace('"','')
    $AccountExpiry = [datetime]::Now.ToString($LastDateWorked)
    foreach ($usertoaction2 in $opencsv2) 
    $TrancodeN = $usertoaction2.TranCode
    $StaffCodeN = $usertoaction2.StaffCode.replace("=","").replace('"','')
    $socialsecurityNoN= $usertoaction2.SocialSecurityNo.replace("=","").replace('"','')
    $DateJoinN = $usertoaction2.DateJoin.replace("=","").replace('"','')
    $GradeN = [string]$usertoaction2.Grade
    $DeptN = $usertoaction2.Dept
    $LastUpdateDate = $usertoaction.LastUpdateDate.replace("=","").replace('"','')
    $EffectiveDate = $usertoaction.EffectiveDate.replace("=","").replace('"','')
    $LastName2 = [string]$usertoaction2.LastName.Replace(",", "").Replace("/","").trim()
    $FirstName2 = [string]$usertoaction2.FirstName.Replace("/","").trim()
    # Use DirectorySearcher to find the DN of the user from the sAMAccountName.
    $Domain = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()
    $Root = $Domain.GetDirectoryEntry()
    $Searcher = [System.DirectoryServices.DirectorySearcher]$Root
    $Searcher.Filter = "(sAMAccountName=$samaccountname)"
    $doesuserexist1 = $Searcher.Findall()
    if ($doesuserexist1 -eq $Null)
    {Write-Host $samaccountname "account does not exist"}
    elseif ($StaffCodeN -match $staffcode)
    write-host "user has renewed the contract, no action taken"
    else
    if(($lastupdatedate -ne $null)-or($LastDateWorked -ne $null))
                        write-host "Setting Account Expiry to"$accountexpirydate
    #$ChangeUser.AccountExpires = $accountexpirydate
               #$Changeuser.setinfo()
    if ($UserMailforwarding -ne $null)
    #Set Account expiry date to Last Date Worked
    # $ChangeUser.AccountExpires = $accountexpirydate
    # $Changeuser.setinfo()
     write-host "staff" $displayname "with staff employee no" $samaccountname "has                          
    mailforwarding" 
    Write-host "Please disable the account manually via Active Directory Users & Computers and 
    Elseif ($accountexpirydate -lt $todaysdate)
    #disable the account

    Hi Vicki,
    This Forum has an insert-codeblock function. Using it will make your script far more readable
    Your script is missing some parts, it is impossible to follow the problem.
    You are performing the same string cleaning action on $opencsv2 for each element in $opencsv, when doing it once should suffice. Why not start it all by cleaning the values and storing the cleaned values in new arrays?
    The Compare-Object function is great, why not take it out for a stroll on these lists, it might just safe you lots of unnecessarily complicated code ...
    You are creating a new $Domain, $Root and $Searcher object each iteration, when doing it once should suffice. Probably not much of a time-saver, but every little thing contributes.
    Try pinpointing the problem by doing extensive logging, not only by writing which action was taken, but writing the inidividual information (variables, mostly) before evaluation occurs. Your if/elseif/else looks sound, so if it's still not doing what you
    want, the ingoing data must be different from what you think should be there.
    Cheers,
    Fred
    There's no place like 127.0.0.1

Maybe you are looking for

  • Setting a New Default "Output To" Template in the Render Que Does Not Work

    I'm trying to change the default "Output To" template in the Render Que to not show the timecode for a PSD file, but when I change the default template by clicking on "Custom" from the dropdown menu and using the checkbox to set a preset as the defau

  • Upgrade from Siebel Analytics 7.8 to 7.9, what's the process?

    Hello If we were gonna upgrade siebel analytics 7.8 to 7.9, what is needed? Do I have to install 7.9 so it overrides 7.8 or how does it work? I have little experience doing that, so please help me with the process.. Thank you so very much.

  • Thread 1:signal SIGABRT in Xocde,Ios,objective-C

    2013-02-15 16:20:10.222 Addition1[463:11303] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key label7.' *** First throw call stack: (

  • Unicode problem: Converting operations on type X operands

    I've got a problem converting a function module to unicode functionality: the original coding performs MOVE and SHIFT operations on operands of type X. The extended syntax check after unicode flag is set fails as X or XSTRING are not considered chara

  • Index category could not be created; Error code 2982

    Hi all I get this error when we try to do the Product Catalog Replication with CRM 5.0 SP 8. We check the RFC Conection, Search Server Configuration, TREX 7.0 status and is Running Ok, IIS user access and Virtual Directory config. Any help on what el