Removing a role from a user

Hi All,
My requirement is to remove a role from the user so the resources assigned to that role has to be deleted once the role is removed from the user. But I am having some trouble to remove the role in the workflow.
I am checking out the view of type User and removing the role from waveset.roles and then checking in the view. I don't see any errors but the role is not getting removed from the user and in turn the end resource is not getting deleted.
Can anybody post some points like what is the correct way to remove the role from the user in the workflow itself.
Thanks in advance.

Thanks for the reply.
Nevermind, actually I managed to solve the issue, there was mistake in the express code.
I have one question, can you help me? I am removing a role from a user and for example there are 2 resources (A and B) assigned to the role, while removing the role from the user it is deleting the account in both resources A and B but I don't want to delete the account in resource B. Is there a way to do this?
I am the checking out and checking in the user view and I am using the following code but it is not working. It is deleting the account from both the resources.
+<set name='delview.update.selectAll'>+
+<s>false</s>+
+</set>+
+<set name='delview.update.accounts.selected'>+
+<s>false</s>+
+</set>+
+<set name='delview.update.accounts[A].selected'>+
+<s>true</s>+
+</set>+
+<remove name='delview.waveset.roles'>+
+<ref>myrole</ref+>
</remove>
can anybody post some points regarding this issue?
Thanks

Similar Messages

  • Changes like password and removal of roles for all users

    Hi
    i want to change password for all users and remove single roles from all users.When i am doing this in SU10 changes are not reflecting for users.Please help reg this
    Vinod

    Me too...I have never been able to remove roles from multiple users with SU10.  I don't know if it's a bug or (more likely) just a confusing screen, but in 4.7 it never worked for me.

  • Receiving an error when trying to remove P00 Security role from the user

    Hi All,
    I am receiving an error when trying to remove P00 Security role from the user.
    After logging on to GRC CUP, clicking on u201CCreate requestu201D, and filling out required information,
    I click on Select Roles/Groups
    On the next screen,
    I click on Existing Roles/Groups
    ERROR MESSAGE appears X Action failed and no roles appear in the box to select for removal.
    Regards,
    Vineet

    Hi Vineet,
    My be your selection is incorrect
    Try this
    in Applicaiton Area -- Select ALL
    Functional Area  -
    Select ALL
    Company           -
    Select ALL
    Role/Profile/Group Names --- Give p00* and execute the report
    if you give only p00 it wont give any result
    Hope this helps
    Thank you,
    Kishore

  • Deleting roles from multiple users simultaneously

    I need to delete all of the roles from multiple users and I was wondering if anyone knows of a way to do it simultaneously other than  a Mercury script(it wont take the roles away that are lower than the initial 20)?

    Hi there,
    there could be easier ways to do it, but this is how I'd go about it if I didn't want to go to each user ID.
    Get a list of all roles assigned to your users you want to restrict from SUIM (display the list of users via tcode S_BCE_68001400).  Click on the 'roles' button and it will pull up a list of all the roles assigned to those users.  Extract and save that).
    Filter the list so you have only one entry of each role name.
    Then go to SU10, enter in all your user IDs to change and go to the role tab, enter the unique list and put wide dates on it say from 01.01.1995 - 31.12.9999 (you want them earlier than the earliest role 'valid from' date and later than the latest role 'valid to' assignment).
    Click the 'Remove' box and save and you should have all roles removed.
    Good luck with it.
    Cheers,
    Dianne

  • I tried to remove a role from one of my 2012R2 DC's

    I tried to remove a role from one of my 2012R2 DC's and now I basically can't do anything to that DC.  Attempting pretty much anything on it tells me that it can't do it because it needs a reboot, and a reboot fixes nothing.  The role I wanted
    to delete is removed (print services), but I can't re-add it, or change any other role or feature.  There is a 'pending.xml' file, and it is rather large.  I can't delete, or rename the 'pending.xml' file, as it is owned by 'TrustedInstaller'.  This
    is the FSMO DC and there are some other services on it that I would rather not have to re-install and reconfigure. I've looked for other things that could prohibit installs and more, but there are no 'Pending Renames' in the registry.
    At least getting server manager to stop complaining would be a good start.
    Thanks in advance for any assistance.

    Hi Mike,
    Just addition, please run
    sfc /scannow command to scan all protected system files and use
    Chkdsk command to check the status of the disk in the current drive. any find?
    à
    The role I wanted to delete is removed (print services), but I can't re-add it, or change any other role or feature.
    Just a confirmation, did you mean that had un-install
    print services successfully? No error occurred? Please check relevant log file (such as event log file and so on) if find some errors. In addition, I noticed that you attempt to re-install the role. Did you get any error message when failed to re-install?
    Did you use Install-WindowsFeature PowerShell command to install? Any difference?
    If any update, please feel free to let us know.
    Hope this helps.
    Best regards,
    Justin Gu

  • How to copy and remove admin Role from SAP_ALL profile

    Hi SDN Experts,
    I need to copy SAP_ALL profile to another in CRM 5.0 system, thereafter i need to remove admin Role from SAP_ALL profile. Can any help regarding this point..
    regds
    gcp

    Chandra,
    I saw ur post in this forum regarding configuring sap intergration with genesys gplus adapter. We are in need of the same configuration. Can you please help me in configuring sap phone for gplus adapter. Reply me on [email protected]
    Thanks in Advance

  • Hiding specific Roles from specific users

    Dear All,
    Is there any way in the database that can hide a role from a user. For instance, if I create a role, then this role can be viewed by all the users defined in the database and then these users can grant priviliges of their own objects to such role. I want to create a Role where certain users can not see and should not be allowed to grant any priviliges for this Role...
    is this possible....
    Thanks
    Bil

    For instance, if I create a role, then this role can be viewed by all the users defined in the database no, I do not think so. Roles are only "visible" to powerful users that have access to the dictionary
    SQL> create role SECRETROLE123;
    Role created.
    SQL> grant create session to SECRETROLE123;
    Grant succeeded.
    SQL> grant select on scott.emp to SECRETROLE123;
    Grant succeeded.
    SQL> grant recovery_catalog_owner to SECRETROLE123;
    Grant succeeded.
    SQL> grant update (sal) on scott.emp to SECRETROLE123;
    Grant succeeded.
    SQL> conn blake/paper                                              
    Connected.
    SQL> select * from dba_roles;
    select * from dba_roles
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> select * from role_tab_privs;
    no rows selected
    SQL> select * from role_sys_privs;
    no rows selected
    SQL> select * from role_role_privs;
    no rows selectedHowever, you cannot that easily prevent an user from granting a table privilege on its own table to a role
    SQL> grant all on t to secretrole123;                            
    Grant succeeded.
    SQL> select distinct grantee from user_tab_privs;
    GRANTEE
    SECRETROLE123Perhaps you can setup a database trigger
    Message was edited by:
    Laurent Schneider

  • Windows 7, removed Administrator rights from my user with Administrator disabled..

    Windows 7, removed Administrator rights from my user with Administrator disabled..how solve without restore everything please??
    Cause drag&drop was disabling each time there was an high privilege process, I tough to fix this annoying trouble removing my user from Administrator group..in fact I fixed that situation.
    But NOW I have another serious problem: my user is not able to do nothing, and my administrator user was disabled and as only belonging to homeuser group I cannot enable it!!! In this moment I am crying because I have fear I will need to restore everything, please do you know a way to enable the administrator user again even if without admin privilege?? Do you know a software that fix it or an also not clean way to avoid a complete restore??
    Thanks in advance and ciaoo
    Fabio

    in control panel > user accounts > change account type select admin.
    Thinkpad R61 7733-1GU
    Thinkpad X61T 7762-54U
    Thinkpad X60T 6363-4GU
    Did a member help you today? Thank them with a Kudo!
    If a post answers your question, please mark it as an "Accepted Solution"!
    Regards,
    GMAC

  • Removing a responsibility from as user

    How to remove a responsibity from an user in Oracle Applications 11.5.10.2

    Dear http://www.teachmeoracle.com,
    Why can't we remove , why only option is to disable any idea ??It is because of audit purposes.
    Each action in OEBS is completed using Username & Responsibility.
    In order to find who have done particular action you need to keep all assigned before responsibilities to a particular user.
    Yury

  • How to remove inactive session from monitor users in oracle apps 11i

    Hi All,
    when I am monitoring users from security- user - monitor in apps 11i, its showing many inactive users.
    I dont know how to remove them
    kindly help me.
    thanks in advance
    sagb

    Hi hsawwan,
    Thank you very much for the reply, it really worked fine.
    thanx again
    Sagb

  • Urgent: How to permenently remove favorit list from a user ?

    We have a need to remove the favorit list from some users.
    Also we need to disable the users ability to create/mantain the favorit
    list.
    Please advise how to do it.
    Points guaranteed. Thanks!

    As you said you need this only for some user , you have to create a new framework page by copying the default one , then create new portal desktop and the new display rules as per your requirement.
    If you need the details for this
    Portal How-to Guides for SAP NetWeaver 2004
    Open the guide........
    How to Modify the Portal Framework Page in SAP Enterprise Portal 6.0
    Priyabrata

  • Report or ways to find who removed portal roles for an user id ?

    Hi Experts,
    Scenario: if admin removes super admin role or any other portal role for my id. is there any possibility to see who exactly deleted the roles for my id?
    Many Thanks
    Sekhar

    HI,
    as Anja wrote, this is not possible with a default installation of the SAP Portal.
    What you can do is to provide role provisioning with IIDM, GRC or ABAP user store solution instead of giving the portal admin the permission to change role <-> user attribution.
    br,
    Tobias

  • Help with copying permissions and roles from one user to another. Issue with RoleDefinitions

    I need help please. 
    I’m trying to copy a role definition/name in SharePoint 2010 Powershell. 
    The below is only a piece of my script, but I have to find '$SearchUser" and wherever it lives (webs, lists, groups), I need to add "$account" and copy permissions
    from '$SearchUser" . We are doing this to limit certain users from access our farm (by adding a new AD domain that does not contain these users, then deleting the old domain). 
    Every time I run it, it seems to mess up on this line: 
    $role = $web.RoleDefinitions.[$newRoleDef].
     It is acting like the $newRoleDef is null, but it is not. 
    When I outputfile the $newRoleDef, it has values, such as Read, Contribute.
    foreach($Web in $Site.AllWebs)
    if($Web.HasUniqueRoleAssignments -eq $True)
    foreach($WebRoleAssignment in $Web.RoleAssignments )
    if($WebRoleAssignment.Member.userlogin)
    if($WebRoleAssignment.Member.LoginName -eq $SearchUser)
    $WebUserPermissions=@()
    foreach ($RoleDefinition in $WebRoleAssignment.RoleDefinitionBindings)
    $newRoleDef = $RoleDefinition.Name
    $assignment = New-Object Microsoft.SharePoint.SPRoleAssignment($account)
    $role = $web.RoleDefinitions.[$newRoleDef]
    $assignment.RoleDefinitionBindings.Add($role)
    $_.RoleAssignments.Add($assignment)

    Hi,
    Glad to hear that you solve this issue, thanks for your sharing.
    Thanks,
    Linda Li
    Linda Li
    TechNet Community Support

  • Unable to remove mozilla folder from C:\Users\Username\Appdata\

    We're trying to remove Firefox as its messing with the roaming profiles on the server,
    we're unable to remove the following folders
    c:\program files (x86)\mozilla firefox
    c:\users\username\appdata\mozilla,
    error message says need permission from administrators (we're logged in as full domain administrator)

    The problem lies in the administration patches. Somewhere one or more of the security updates was missed or ignored. The admin pointers to the permissions on the stack in the HAL layer are pointing to a NULL field. This is a common problem with MS(c) based OS's. Solutions: (1) Remove and Re-apply security updates in order. (2) reload and allow the OS' to catch all the updates. (3) Scream at MS(c) until they tell you what update you missed.

  • How to remove CPI Logo from Guest Users Printed Credentials?

    Hi all,
    I recently migrated from NCS 1.1.2.12 to PI 2.1 for one of my customers.
    My concern is related to the printed credentials for Guest Users on a WLAN which uses Web Authentication, this credentials are generated by Lobby Ambassador accounts.
    When I print the credentials for Guest Users, the Cisco Prime Logo is included at the top of the printed paper, which is something that did not happen in NCS prior to the migration.
    Do you guys know if there is a way to remove that Cisco Prime logo so this is not printed along with the credentials? 
    Thank you in advance.
    Calvillo

    Hi Nour,
    Sorry, it is not a concern... I think I should've used the word "doubt" instead.
    I also thought that removing the PI logo was not possible but want to make sure before confirming this to the customer. He just doesn't want the logo to appear on the paper.
    Thanks!
    Calvillo

Maybe you are looking for

  • XSLT Mapping code

    i want to produce correct output, which is mentioned in the the blog /people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping i think there was an error in the XSLT coding. i modified the code as follows: <xsl:transform version

  • Email PDF from Firefox -- keeps freezing

    This may belong in a Firefox forum, but thought I'd give it a shot here. I frequently use the Print>PDF>email PDF function from within Firefox. Recently, however, this has stopped working -- the "Printing Progress Bar" freezes, necessitating a Force

  • GRC AC DATA MART CONFIGURATION

    Hi All, We are on GRC AC 5.3 SP 11. The customer wants to use the Data Mart functionality with crystal report 2008 for custom reporting purpose. In my knowledge this functionality is available in AC since SP 9. But don't know the exact procedure to g

  • How do I get to the App Catalogue without being FORCED to sign up for your Damned Snapfish?!!!

    I keep trying to see the App CAtalogue and you are forcing me to sign in through a program I hate, Snapfish.  Can you help[ me use your product without such a damned program?

  • Install failing

    hi, i'm trying to install itunes again because it was deleted. After i download it i start the installation and when it starts configuring the files i get a message saying " The older version of quicktime cannot be removed. " and then the installatio