Assigning Default Role to New Users created

Hi
How can we assign a default Role to any new User created.
This Role should automatically get assigned whenever a new User is created.
Regards

Hello,
for ABAP Stack users you can just create a reference user with the according roles and copy new users from it.
Regards
Christian

Similar Messages

  • How to retrieve the Role of a custom sharepoint Group Progrmatically and also assigning the same roles to new user?

     I want to retrieve the roles assigned to custom group progrmatically and assigning the same roles to new user?

    Hi,
    According to your post, my understanding is that you want to retrieve the Role of a custom sharepoint Group Progrmatically and also assigning the same roles to new user.
    To retrieve the Role of a custom sharepoint Group, you can refer to:
    http://www.sharepointfix.com/2011/05/find-rolepermissions-of-currently.html
    To assign the same roles to new user, you can refer to:
    http://msdn.microsoft.com/library/Microsoft.SharePoint.SPRoleAssignment
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • New user created in oracle 11g (release 2) is not connecting (ORA-01017)

    Hi All,
    Kindly help me out regarding this.
    I have created a new user using "ORACLE Enterprise Manager 11g" and used the same credentials in SQL developer for a new connection and it throw "ORA-01017: invalid username/password; logon denied" message.
    Kindly note that have followed the following steps in creating user:
    On the Users page, click Create.
    In the Name field, enter NICK.
    In the Profile list, accept the value DEFAULT.
    This setting assigns the default password policy to user Nick.
    In the Enter Password and Confirm Password fields, enter a password that is secure.
    Create a password that is secure. See Oracle Database Security Guide for more information.
    Do not select Expire password now. If the account status is set to expired, then the user or the database administrator must change the password before the user can log in to the database.
    (Optional) Next to the Default Tablespace field, click the flashlight icon, select the USERS tablespace, and then click Select.
    All schema objects that Nick creates will then be created in the USERS tablespace unless he specifies otherwise. If you leave the Default Tablespace field blank, Nick is assigned the default tablespace for the database, which is USERS in a newly installed database. For more information about the USERS tablespace, see "About Tablespaces".
    (Optional) Next to the Temporary Tablespace field, click the flashlight icon, select the TEMP tablespace, and then click Select.
    For the Status option, accept the default selection of Unlocked.
    You can later lock the user account to prevent users from logging in with it. To temporarily deny access to a user account, locking the user account is preferable to deleting it, because deleting it also deletes all schema objects owned by the user.
    Grant roles, system privileges, and object privileges to the user, as described in "Example: Granting Privileges and Roles to a User Account".
    Note: Do not click OK in Step 13 of "Example: Granting Privileges and Roles to a User Account". Instead, skip that step and continue with Step 12 in this procedure.
    Assign a 10 MB quota on the USERS tablespace, as described in "Example: Assigning a Tablespace Quota to a User Account".
    If you did not click OK while assigning the tablespace quota (previous step), click OK now to create the user.Kindly note that I have log in as SYSTEM user and created this new user.
    Could any one help me regarding this ?

    After connecting with sqlplus, as user SYSTEM and when tried the below, I could see that the new user created by me does not exist..
    select '--' || username || '--'
    from dba_users
    order by username;
    But when tried with GUI "ORACLE Enterprise Manager 11g" I can very well see the new user created by me..
    How is this possible mate??
    Is the user not properly created through GUI (than from where it is showing the new user)
    Some more information i want to share;
    i have used schema "HR"
    And have used table space "USERS"
    And tep tablespace "TEMP"
    Edited by: 828569 on Jan 16, 2011 9:01 PM
    Edited by: 828569 on Jan 16, 2011 9:03 PM

  • New user created. How to create Central Person and Business partner

    Hi,
    I got a new users created in SRM 5.0 .how to create Central person and business partner.
    Without CP & BP we cannot work. please guide.
    Regards
    G.Ganesh Kumar

    HI GANESH
    As you aware , assign the user to organisation structure via users_gen , the system will create a BP and Central Person , Position and user for you.
    br
    muthu

  • Simple mail notification on new user create

    Hi,
    I am new to oim 11g. We are doing a small POC where we need to send mail to system admin on new user create. We just want to test notification functionality in OIM 11g.
    Please let me know how to proceed, without any coding, if we want to send mail on new user creation.
    Thank,
    Kalpana.

    even after giving valid email address in xelsysadm user account, I am getting below error:
    [2013-12-24T01:43:26.490-08:00] [oim_server1] [ERROR] [] [oracle.iam.notification.impl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: b33006816923ec25:29d2fb5b:1431077f18c:-8000-000000000000b0ab,0] [APP: oim#11.1.2.0.0] Provider EmailServiceProvider has encountered exception : From address must not be null
    [2013-12-24T01:43:26.490-08:00] [oim_server1] [ERROR] [] [oracle.iam.notification.impl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: b33006816923ec25:29d2fb5b:1431077f18c:-8000-000000000000b0ab,0] [APP: oim#11.1.2.0.0] Sending notification with Provider EmailServiceProvider has encountered exception : Error occured while Sending Notification through Provider EmailServiceProvider : From address must not be null
    [2013-12-24T01:43:26.491-08:00] [oim_server1] [ERROR] [] [oracle.iam.notification.impl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: oiminternal] [ecid: b33006816923ec25:29d2fb5b:1431077f18c:-8000-000000000000b0ab,0] [APP: oim#11.1.2.0.0] Sending notification with Provider EmailServiceProvider detailed exception : From address must not be null

  • Portal Runtime error in assigning a role to a user by UME

    Hi ALL,
    I am assigning a role to a user through UME using this piece of code:
    String uids = userFactory.getUserByUniqueName("Shilpa").getUniqueID();
    String roleid = roleFact.getRoleByUniqueName("pcd:portal_content/administrator/content_admin/content_admin_role").getUniqueID();
    roleFact.addUserToRole(uids,roleid);
    The userid and role is beinf fetched successfully but at the assignment of the role to the user , I am gettign Portal runtime error.
    The error log is following.
    <b> java.lang.NoClassDefFoundError: com/sap/abc/network/util/InfEPLog
         at UserListeners.userAssigned(UserListeners.java:27)</b>
         at com.sap.security.core.imp.RoleFactory.assignUserPerformed(RoleFactory.java:1466)
         at com.sap.security.core.persistence.imp.DistributedTransaction.doCacheUpdateAndNotificationForMembers(DistributedTransaction.java:565)
         at com.sap.security.core.persistence.imp.DistributedTransaction.doCacheUpdateAndNotificationForMembers(DistributedTransaction.java:815)
         at com.sap.security.core.persistence.imp.DistributedTransaction.doCacheUpdateAndNotification(DistributedTransaction.java:465)
         at com.sap.security.core.persistence.imp.DistributedTransaction.afterCompletion(DistributedTransaction.java:252)
         at com.sap.engine.services.ts.jta.impl.TransactionImpl.commit(TransactionImpl.java:414)
         at com.sap.engine.services.ts.jta.impl.TransactionManagerImpl.commit(TransactionManagerImpl.java:316)
         at com.sap.engine.services.ts.transaction.TxManager.commitLevel(TxManager.java:581)
         at com.sap.engine.services.ts.transaction.TxManagerImpl.commitLevel(TxManagerImpl.java:63)
         at com.sap.transaction.TxManager.commitLevel(TxManager.java:237)
         at com.sap.security.core.persistence.imp.DistributedTransaction.commit(DistributedTransaction.java:2742)
         at com.sap.security.core.imp.Role.commit(Role.java:337)
         at com.sap.security.core.imp.RoleFactory.addUserToRole(RoleFactory.java:1338)
         at com.sap.user.UserAdded.doContent(UserAdded.java:63)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.doPreview(AbstractPortalComponent.java:240)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:168)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Please tell me where I am wrong.
    Regards,
    Shilpa.

    Hi Shilpa,
    The error "java.lang.NoClassDefFoundError" means that your classpath is not set correctly. This is likely due to a missing reference. The class file may be in the jar, but at runtime the component (your component) needs to have access to the jar file which contains the class.
    Try adding the servlet.jar, activation.jar file in your project and also through your ADd external libraries at 'java build path'. also please ensure tht WAS and NWDS at the same SP level.
    Hope this might help you.
    Regards,
    Shaila

  • Cs6 opening existing file defaults to last new size created. How do I keep my file properties / size

    cs6 opening existing file defaults to last new size created. How do I keep my file properties / size the same?

    Is that all your HTML code contains?
    Where are the closing </body> and </html> tags in the end?
    Try adding this to the last lines of the file:
    </body>
    </html>
    -ST

  • So tired of assigning default roles in each edit post activation......GP

    Hi:
    My dears, is there anyway of set up the default roles for a GP and keep them no matter activation/edition action is perform....
    I set them up in:
    -  Guided procedures--> Administration --> Assign Default Roles
    -  Guided procedures --> Design time -->Process --> Default Roles
    But in active/edit operation all the default roles are deleted....
    Thanks a lot for your time on this thread.
    Rocío.

    Hi:
    My dears, is there anyway of set up the default roles for a GP and keep them no matter activation/edition action is perform....
    I set them up in:
    -  Guided procedures--> Administration --> Assign Default Roles
    -  Guided procedures --> Design time -->Process --> Default Roles
    But in active/edit operation all the default roles are deleted....
    Thanks a lot for your time on this thread.
    Rocío.

  • Problem in assigning custom role to a user

    Hi everyone,
    Can anyone tell me how to assign a custom role to a user?
    I have created a set of IViews which are assigned to a workset and the workset is assigned to a new role.
    I assign this new role to my user account.
    But, I am not getting the role which I have assigned to my user account.
    What am I missing???

    Hi Daya,
    Check the below links:
    [Setting up Portal Roles|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0ba66fd-3c4e-2a10-1090-e1217a92c147?QuickLink=index&overridelayout=true]
    Step by step guide to create roles and worksets. [Wiki blog|http://wiki.sdn.sap.com/wiki/display/EP/Makeiview,workset,pageandassignrole]
    Check the [help.sap|http://help.sap.com/saphelp_nw70/helpdata/en/1e/89570091620b428807f5bce4b45e7f/frameset.htm] document to get idea about Portal Content Objects.
    Regards,
    Anand G

  • New user created doesn't see any data in reports

    Hello Everyone,
    I am using Hyperion Planning 11.1.2.1. I have a problem when i created a new user in the system via Shared Services. The reports are Reporting and Analysis reports.
    I duplicated a current user in the system and applied the same groups and provisions. However, the new user cannot view any data in the reports. The current user however is able to do so. I am quite literally puzzled.
    The existing user has been given the "Planner" provision. Further, the existing user has dimension security applied as well. This works fine with the existing user, as when i log in as the existing user, the data is available only to the groups and dimensions he has been assigned to. But when I apply the same groups and provisions to the newly created user, I get absolutely no data though i can see the report.
    But if I apply the Essbase Cluster: Administrator provision to the new user, all the data is viewable in the reports irrespective of the dimension security.
    I would appreciate some help urgently to get this matter resolved.
    Regards

    Hi John,
    Though the problem was solved last time, it returned. Users aren't able to view any web analysis reports.
    I dropped all users from SS and deleted all the security filters from EAS. (made a backup of course). Then I created all the users once again with relevant access to groups and the provision of "Planner" in the relevant planning application.
    Then in planning (Administration > Manage Security Filters > UserName > Create) created the filter for the user.
    When I did that, the default filter for the user was as follows.
    Access - None
    Member - @IDES("Accounts"),@IDES("Scenarios"),@IDES("Versions"),@IDES("ABCGroup")
    I want the user to have access to the Cost Center (Branch) L103. So I added the following.
    Access - Read
    Member - "Final","Draft 1","L103","Budget","Actual","Final Forecast",@IDES("Input Assumptions"),@IDES("Balance Sheet"), @IDES("Profit and Loss Account"),@IDES("Financials Ratio"),@IDES("Report Assumptions")
    This used to work, but for somewhat reason, it doesn't. The story is the same for all users. When i log in as a user and try to view a report, i get the "Database Login" - No data available error.
    Pls help.

  • How do I permanently STOP the Bing Suggested Sites icon from being in the IE 9 toolbar for everyone and make it the default for all new users

    Non of the other post on this subject were correctly answered and they are now old so here is a new thread for a question that a Microsoft Engineer should have answered a long time ago in one of the other threads.
     I have IE 9 installed.
    I am setting up my default profile which will be used for ALL users to configure their profile when they log on. All profiles are destroyed on system reboot. All PCs are frozen.
    Every time I log in as a new user and open IE 9, the favorites bar shows up as I want it with NO BING Suggested Site crapware in site. Then about .5 secs after IE starts and the Favorites bar is shown, the EVIL "Bing Suggested Sites" button appears.
     I can delete it and it seems to stay away until I delete the users profile folder etc and have them log in again. When the profile is recreated the Favorites folder does not have a "Suggested Sites" option in the c:\users\username\favorites\links"
    folder. (I have deleted the hidden .ini files in the default folder) Nor does one exist in the "c:\users\default\favorites\links" folder from which the newly created user profile folder comes. But as soon as I start IE 9, one is created and placed
    in the users favorites links folder. This MUST STOP!!!!!!!!!!!!! This is UNACCEPTABLE. AND IT MUST BE STOPPED!!!!! Where in the Windows 7 x64 Enterprise OS is the location of this evil action and how do I PERMANENTLY delete it.
    I don't EVER want to see the EVIL BING Suggested Sites button anywhere on the PC especially in the Favorites Tool bar on IE 9. An I expect/demand that Microsoft tell us how to 100% cannot fail get rid of it for ALL USERS FOREVER NO MATTER WHAT!!!!!!!!!!!! I
    have spent a lot of time perfecting my default profile making sur that ALL options are decide by me NOT MICROSOFT. I NEVER USE SYSPREP as that will destroy ALL custom defaults every time.
    When a user logs in in to one of my PCs and they start IE 9 they get REAL Google for the default search engine, not the version Microsoft will give you which first sends all search requests to Microsoft so they can spy on what you searched in Google for etc.,
    but real Google, not sent to Microsoft 1st. (I'll bet more than 90% of the readers of this site did not notice how if you let Microsoft set your default search provider to Google, they fix it so that all search requests go to Microsoft 1st, before it gets
    sent to Google. Look at the search string under manage your search providers, in IE 7 & 8. In IE 9 it is hidden, but still there. HOW EVIL OF MICROSOFT)
    With my default profile IE does not ask how you want to set it up, I have already made those decisions. I have made all those decisions for my users. But as of recently I have started installing IE 9 and now this unacceptable BING Suggested Sites junk ware
    keeps showing up. HOW DO I STOP IT. Do I have to put a line in my HOSTS file to send all request for Bing.com to 127.0.0.1 just to make sure that it can't be used. There by removing all possibility of my users ever being able to use Bing FOREVER.
    I would rather not do that but unless a Microsoft representative will tell me how to keep that useless Bing Suggested Sites button from appearing on the Favorites tool bar I will have to. I would love to let my user decide if they want to use Bing and waist
    their time trying to find good search results, but I will not have it forced on them and I will not allow it to be on the Favorites tool Bar ever. So will a Microsoft Engineer please tell us how to put a permanent end to the "Bing Suggested Sites"
    button for ALL users ALWAYS FOREVER.
    Thanks,
    Ralph

    Hi,
    I suggest you try the steps in this thread for test:
    Disable Suggested Sites does not work.
    http://answers.microsoft.com/en-us/ie/forum/ie9-windows_7/disable-suggested-sites-does-not-work/4ba064b1-1c6e-43f1-939e-2db1d335b2ef
    Regards,
    Vincent Wang
    TechNet Community Support

  • How to change the theme in the default profile so new users get a different theme

    How can I change the theme (background picture, etc) for the default profile, so that when new users log in and get a new profile created, they get a different theme than the one they currently receive?

    Hi,
    If you want to get a different theme for new users, based on my understanding, it’s not easy, we can load the specific theme for all user because we can control OS to load this specific theme file.
    The default location of theme file is:
    C:\Windows\Resources\Themes
    To configure OS load different theme for different user, I think this cannot be controlled by a registry key. It’s complicated to make OS choose different theme pack for different user, even more, the theme pack files are limited.
    Here is some different but similar discussion about changing theme programmatically:
    How do I change the current Windows theme programatically?
    http://stackoverflow.com/questions/546818/how-do-i-change-the-current-windows-theme-programatically
    Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    If you have any feedback on our support, please click
    here
    Alex Zhao
    TechNet Community Support

  • New "user" created at every login - settings and files lost

    Hi there,
    I've recently replaced a faulty hard disk, re-installed all applications and restored files from backup. I'm using OS X 10.4.11 and an iBook G4.
    Ever since, every time I login, the computer creates a new user and hence my settings and files are not available.
    My user is called e.g."Jack & Jill", but it creates a new user called "iBook" and moves my "Jack & Jill" user to Macintosh HD > Users.
    I can access everything by finding the old "Jack & Jill" user, but it stuffs up using applications because all the settings are under the Library for "Jack & Jill".
    I have tried copying all the files and settings to the "iBook" user, but when I login next time it creates a new "iBook" user, and re-names the previous one "iBook 1" and moves it to the Macintosh HD > Users directory.
    Upshot is every time I login, it's a major hassle to find all my files and get all the settings right.
    Has anyone heard of this problem before and can recommend a solution?
    Cheers,
    Tertullian

    Hi Tertullian, I've seen this, it usually happens when a users name is renamed, whether you did it or it was a spontaneous event...
    Return to default desktop, apparent "loss" of home directory, (it can happen spontaneously too)...
    http://docs.info.apple.com/article.html?artnum=107854
    Have you tried making a new Admin user & see if that one holds between reboots?

  • Deploy default bookmarks for new users

    How can I deploy default bookmarks that will be used for every new user profile with Firefox 6 or 7?
    I tried to place a bookmarks.html or a places.sqlite file in
    \mozilla firefox\defaults\profiles, but none of them seems to be used when creating the new profile. (However, default\profiles isn't ignored generally, since a localstore.rdf file placed in the same directory actually does get used.)
    Thanks,
    --leo

    In the web.xml file for the InfoViewApp, which in the case if you are using Tomcat, is "Program Files\Business Objects\Tomcat55\webapps\InfoViewApp\WEB-INF".
    Find the parameter entry:
    <!-- The default home page -->
        <context-param>
            <param-name>homepage.default</param-name>
            <param-value>/jsp/listing/home.jsp</param-value>
        </context-param>
    change the <param-value> entry from "/jsp/listing/home.jsp" to "/listing/objectList.do"
    so now it should read:
        <context-param>
            <param-name>homepage.default</param-name>
            <param-value>/listing/objectList.do</param-value>
        </context-param>

  • New User creating through Exchange Admin Center -"Exception has been thrown by the target of an invocation"

    facing problem in creating new user through EAC. through shell its ok. but when i tried through EAC it stuck selecting OU with error
    "Exception has been thrown by the target of an invocation".. i have multiple child doman user scenario .. 
    its stucks at screen shot 2- and keep on prompting please wait ... 
    help will be appreciated.

    Why would you go for nested OU inside the default OUs? ;-)
    i have more then 1 domain controllers and sites .. it was done to implement different policies on different DCs .. and to standardize the things in better way 
    Are you saying that you had an empty OU in the root domain, which caused the error?
    no the error way bcos of my domain controllers were in nested OU .. i move them to root OU .. at the same time i remove
    empty OU in my domain (it was for test purpose etc.). not sure if the empty OU were also causing problem .. but for sure it were nested OU under "domain controllers OU" ... 

Maybe you are looking for