This is how to bulk create users programatically (source code included)

After scouring all of the related forums and gathering all of
the clips of code and viewing all of the comments and docs on
the api's, I have found a working means of bulk loading my users
into portal from my previous system...
NOTE: THIS CODE SHOULD BE USED VERY CAREFULLY, AS, IT CAN REALLY
DESTROY YOUR SYSTEM MAYBE EVEN YOUR HARDWARE AND IN REARE CASES,
BRING WORLD WIDE PLAGUES ACCOMANIED BY WEIGHT GAIN...
Now, the only thing it does not do is trap the error of trying
to create a user that already exists.
If, only someone would give me a job doing this stuff (hint,
hint):
DECLARE
CURSOR user_cursor IS
/* Add your own query to get needed data
for import.... this is mine coming from a
migrated SQL2000 db...
SELECT
"SYSTEM"."OnlineProfiles"."LogonName",
"SA"."EMPLOYEES"."EMPLOYEEID",
"SA"."EMPLOYEES"."LAST_NAME",
"SA"."EMPLOYEES"."FIRST_NAME",
"SA"."EMPLOYEES"."MIDDLE_NAME",
"SA"."EMPLOYEES"."DOB",
"SA"."EMPLOYEES"."EMAIL",
"SA"."EMPLOYEES"."PHONE",
"SA"."EMPLOYEES"."STREET_ADDRESS",
"SA"."EMPLOYEES"."APT",
"SA"."EMPLOYEES"."CITY",
"SA"."EMPLOYEES"."STATE",
"SA"."EMPLOYEES"."ZIP",
"SA"."EMPLOYEES"."DISTRICT",
"SA"."EMPLOYEES"."JOB",
"SA"."EMPLOYEES"."DATEOFHIRE",
"SYSTEM"."OnlineProfiles"."Password"
from "SA"."EMPLOYEES", "SYSTEM"."OnlineProfiles"
WHERE "SA"."EMPLOYEES"."EMPLOYEEID"
= "SYSTEM"."OnlineProfiles"."EmployeeID";
P_USER_NAME VARCHAR2(256);
P_EMPNO VARCHAR2(30);
P_LAST_NAME VARCHAR2(60);
P_FIRST_NAME VARCHAR2(60);
P_MIDDLE_NAME VARCHAR2(60);
P_DATE_OF_BIRTH DATE;
P_EMAIL VARCHAR2(256);
P_HOME_PHONE VARCHAR2(30);
P_HOME_ADDR1 VARCHAR2(60);
P_HOME_ADDR2 VARCHAR2(30);
P_HOME_CITY VARCHAR2(30);
P_HOME_STATE VARCHAR2(30);
P_HOME_ZIP VARCHAR2(30);
P_ORGANIZATION VARCHAR2(150);
P_TITLE VARCHAR2(80);
P_HIREDATE DATE;
P_PASSWORD VARCHAR2(30);
l_uid number(32);
l_gid number(32);
l_errno number(30);
l_group varchar2(100) := 'BDS_USERS'; -- All users added to same
group
l_debug number(10) := 0;
BEGIN
OPEN user_cursor;
LOOP
FETCH user_cursor INTO P_USER_NAME,
P_EMPNO,
P_LAST_NAME,
P_FIRST_NAME,
P_MIDDLE_NAME,
P_DATE_OF_BIRTH,
P_EMAIL,
P_HOME_PHONE,
P_HOME_ADDR1,
P_HOME_ADDR2,
P_HOME_CITY,
P_HOME_STATE,
P_HOME_ZIP,
P_ORGANIZATION,
P_TITLE,
P_HIREDATE,
P_PASSWORD;
EXIT WHEN user_cursor%NOTFOUND;
l_debug := 1; -- Add user to portal...
l_uid := portal30.wwsec_api.add_portal_user(
p_user_name =>P_USER_NAME,
p_portal_user => 'Y',
p_Display_Personal_Info=>'Y',
p_Known_As=>P_FISRT_NAME,
p_Organization=>P_ORGANIZATION,
p_Empno=>P_EMPNO,
p_Last_Name=>P_LAST_NAME,
p_First_Name=>P_FIRST_NAME,
p_Middle_Name=>P_MIDDLE_NAME,
p_Date_Of_Birth=>P_DATE_OF_BIRTH,
p_Email=>P_EMAIL,
p_Home_Phone=>P_HOME_PHONE,
p_Home_Addr1=>P_HOME_ADDR1,
p_Home_Addr2=>P_HOME_ADDR2,
p_Home_City=>P_HOME_CITY,
p_Home_State=>P_HOME_STATE,
p_Home_Zip=>P_HOME_ZIP,
p_Organization=>P_ORGANIZATION,
p_Title=>P_TITLE,
p_Hiredate=>P_HIREDATE);
l_debug := 2; -- Create a User for Login Server...
portal30_sso.wwsso_api_user_admin.create_user
(P_USER_NAME
,P_PASSWORD
,P_EMAIL
,sysdate
,null
,FALSE
,l_errno);
l_debug := 3; -- Get default group id number...
l_gid := portal30.wwsec_api.group_id(l_GROUP);
l_debug := 4; -- Activate new user...
portal30.wwsec_api.add_user_to_list(l_uid, l_gid, 0);
l_debug := 5; -- Assign new user to default group...
portal30.wwsec_api.set_defaultgroup(p_groupid =>
l_gid,p_username => P_USER_NAME);
l_debug := 51;
commit;
l_debug := 6; -- Output progress to screen...
htp.p('Created User : '||P_USER_NAME||' UID '||l_uid||'
with the Group ID '||l_gid||htf.br);
END LOOP;
CLOSE user_cursor;
END;
Enjoy!
PS someone write the trap for the unique constraint violation
and email it to me....
Bryancan

Sorry had a couple of typos in there... this one works...
DECLARE
CURSOR user_cursor IS
SELECT
"SYSTEM"."OnlineProfiles"."LogonName",
"SA"."EMPLOYEES"."EMPLOYEEID",
"SA"."EMPLOYEES"."LAST_NAME",
"SA"."EMPLOYEES"."FIRST_NAME",
"SA"."EMPLOYEES"."MIDDLE_NAME",
"SA"."EMPLOYEES"."DOB",
"SA"."EMPLOYEES"."EMAIL",
"SA"."EMPLOYEES"."PHONE",
"SA"."EMPLOYEES"."STREET_ADDRESS",
"SA"."EMPLOYEES"."APT",
"SA"."EMPLOYEES"."CITY",
"SA"."EMPLOYEES"."STATE",
"SA"."EMPLOYEES"."ZIP",
"SA"."EMPLOYEES"."DISTRICT",
"SA"."EMPLOYEES"."JOB",
"SA"."EMPLOYEES"."DATEOFHIRE",
"SYSTEM"."OnlineProfiles"."Password"
from "SA"."EMPLOYEES", "SYSTEM"."OnlineProfiles"
WHERE "SA"."EMPLOYEES"."EMPLOYEEID"
= "SYSTEM"."OnlineProfiles"."EmployeeID";
P_USER_NAME VARCHAR2(256);
P_EMPNO VARCHAR2(30);
P_LAST_NAME VARCHAR2(60);
P_FIRST_NAME VARCHAR2(60);
P_MIDDLE_NAME VARCHAR2(60);
P_DATE_OF_BIRTH DATE;
P_EMAIL VARCHAR2(256);
P_HOME_PHONE VARCHAR2(30);
P_HOME_ADDR1 VARCHAR2(60);
P_HOME_ADDR2 VARCHAR2(30);
P_HOME_CITY VARCHAR2(30);
P_HOME_STATE VARCHAR2(30);
P_HOME_ZIP VARCHAR2(30);
P_ORGANIZATION VARCHAR2(150);
P_TITLE VARCHAR2(80);
P_HIREDATE DATE;
P_PASSWORD          VARCHAR2(30);
l_uid number(32);
l_gid number(32);
l_errno number(30);
l_user varchar2(100);
l_group varchar2(100) := 'BDS_USERS';
l_debug number(10) := 0;
BEGIN
OPEN user_cursor;
LOOP
FETCH user_cursor INTO P_USER_NAME,
          P_EMPNO,
          P_LAST_NAME,
          P_FIRST_NAME,
          P_MIDDLE_NAME,
          P_DATE_OF_BIRTH,
          P_EMAIL,
          P_HOME_PHONE,
          P_HOME_ADDR1,
          P_HOME_ADDR2,
          P_HOME_CITY,
          P_HOME_STATE,
          P_HOME_ZIP,
          P_ORGANIZATION,
          P_TITLE,
          P_HIREDATE,
          P_PASSWORD;
     EXIT WHEN user_cursor%NOTFOUND;
     l_debug := 1;
     l_uid := portal30.wwsec_api.add_portal_user(p_user_name
=>P_USER_NAME,p_portal_user => 'Y',
p_Organization=>P_ORGANIZATION,
p_Empno=>P_EMPNO,
p_Last_Name=>P_LAST_NAME,
p_First_Name=>P_FIRST_NAME,
p_Middle_Name=>P_MIDDLE_NAME,
p_Date_Of_Birth=>P_DATE_OF_BIRTH,
p_Email=>P_EMAIL,
p_Home_Phone=>P_HOME_PHONE,
p_Home_Addr1=>P_HOME_ADDR1,
p_Home_Addr2=>P_HOME_ADDR2,
p_Home_City=>P_HOME_CITY,
p_Home_State=>P_HOME_STATE,
p_Home_Zip=>P_HOME_ZIP,
p_Title=>P_TITLE,
p_Hiredate=>P_HIREDATE);
     l_debug := 2;
     portal30_sso.wwsso_api_user_admin.create_user
(P_USER_NAME
     ,P_USER_NAME
     ,P_USER_NAME||'@getbenefits.com'
     ,sysdate
     ,null
     ,FALSE
     ,l_errno);
     l_debug := 3;
     l_gid := portal30.wwsec_api.group_id(l_GROUP);
     l_debug := 4;
     portal30.wwsec_api.add_user_to_list(l_uid, l_gid, 0);
     l_debug := 5;
     portal30.wwsec_api.set_defaultgroup(p_groupid =>
     l_gid,p_username => P_USER_NAME);
     l_debug := 51;
     commit;
     l_debug := 6;
     htp.p('Created User : '||P_USER_NAME||' UID '||l_uid||'
with the Group ID '||l_gid||htf.br);
END LOOP;
CLOSE user_cursor;
END;

Similar Messages

  • Bulk Create Users from CSV: Error: "Put": "There is no such object on the server."?

    Hi,
    I'm using the below PowerShell script, by @hicannl which I found on the MS site, for bulk creating users from a CSV file.
    I've had to edit it a bit, adding some additional user fields, and removing others, and changing the sAMAccount name from first initial + lastname, to firstname.lastname. However now when I run it, I get an error saying:
    "[ERROR]     Oops, something went wrong: The following exception occurred while retrieving member "Put": "There is no such object on the server."
    The account is created in the default OU, with the correct firstname.lastname format, but then it seems to error at setting the "Set an ExtensionAttribute" section. However I can't see why!
    Any help would be appreciated!
    # ERROR REPORTING ALL
    Set-StrictMode -Version latest
    # LOAD ASSEMBLIES AND MODULES
    Try
    Import-Module ActiveDirectory -ErrorAction Stop
    Catch
    Write-Host "[ERROR]`t ActiveDirectory Module couldn't be loaded. Script will stop!"
    Exit 1
    #STATIC VARIABLES
    $path = Split-Path -parent $MyInvocation.MyCommand.Definition
    $newpath = $path + "\import_create_ad_users_test.csv"
    $log = $path + "\create_ad_users.log"
    $date = Get-Date
    $addn = (Get-ADDomain).DistinguishedName
    $dnsroot = (Get-ADDomain).DNSRoot
    $i = 1
    $server = "localserver.ourdomain.net"
    #START FUNCTIONS
    Function Start-Commands
    Create-Users
    Function Create-Users
    "Processing started (on " + $date + "): " | Out-File $log -append
    "--------------------------------------------" | Out-File $log -append
    Import-CSV $newpath | ForEach-Object {
    If (($_.Implement.ToLower()) -eq "yes")
    If (($_.GivenName -eq "") -Or ($_.LastName -eq ""))
    Write-Host "[ERROR]`t Please provide valid GivenName, LastName. Processing skipped for line $($i)`r`n"
    "[ERROR]`t Please provide valid GivenName, LastName. Processing skipped for line $($i)`r`n" | Out-File $log -append
    Else
    # Set the target OU
    $location = $_.TargetOU + ",$($addn)"
    # Set the Enabled and PasswordNeverExpires properties
    If (($_.Enabled.ToLower()) -eq "true") { $enabled = $True } Else { $enabled = $False }
    If (($_.PasswordNeverExpires.ToLower()) -eq "true") { $expires = $True } Else { $expires = $False }
    If (($_.ChangePasswordAtLogon.ToLower()) -eq "true") { $changepassword = $True } Else { $changepassword = $False }
    # A check for the country, because those were full names and need
    # to be land codes in order for AD to accept them. I used Netherlands
    # as example
    If($_.Country -eq "Netherlands")
    $_.Country = "NL"
    ElseIf ($_.Country -eq "Austria")
    $_.Country = "AT"
    ElseIf ($_.Country -eq "Australia")
    $_.Country = "AU"
    ElseIf ($_.Country -eq "United States")
    $_.Country = "US"
    ElseIf ($_.Country -eq "Germany")
    $_.Country = "DE"
    ElseIf ($_.Country -eq "Italy")
    $_.Country = "IT"
    Else
    $_.Country = ""
    # Replace dots / points (.) in names, because AD will error when a
    # name ends with a dot (and it looks cleaner as well)
    $replace = $_.Lastname.Replace(".","")
    $lastname = $replace
    # Create sAMAccountName according to this 'naming convention':
    # <FirstName>"."<LastName> for example
    # joe.bloggs
    $sam = $_.GivenName.ToLower() + "." + $lastname.ToLower()
    Try { $exists = Get-ADUser -LDAPFilter "(sAMAccountName=$sam)" -Server $server }
    Catch { }
    If(!$exists)
    # Set all variables according to the table names in the Excel
    # sheet / import CSV. The names can differ in every project, but
    # if the names change, make sure to change it below as well.
    $setpass = ConvertTo-SecureString -AsPlainText $_.Password -force
    Try
    Write-Host "[INFO]`t Creating user : $($sam)"
    "[INFO]`t Creating user : $($sam)" | Out-File $log -append
    New-ADUser $sam -GivenName $_.GivenName `
    -Surname $_.LastName -DisplayName ($_.LastName + ", " + $_.GivenName) `
    -StreetAddress $_.StreetAddress -City $_.City `
    -Country $_.Country -UserPrincipalName ($sam + "@" + $dnsroot) `
    -Company $_.Company -Department $_.Department `
    -Title $_.Title -AccountPassword $setpass `
    -PasswordNeverExpires $expires -Enabled $enabled `
    -ChangePasswordAtLogon $changepassword -server $server
    Write-Host "[INFO]`t Created new user : $($sam)"
    "[INFO]`t Created new user : $($sam)" | Out-File $log -append
    $dn = (Get-ADUser $sam).DistinguishedName
    # Set an ExtensionAttribute
    If ($_.ExtensionAttribute1 -ne "" -And $_.ExtensionAttribute1 -ne $Null)
    $ext = [ADSI]"LDAP://$dn"
    $ext.Put("extensionAttribute1", $_.ExtensionAttribute1)
    Try { $ext.SetInfo() }
    Catch { Write-Host "[ERROR]`t Couldn't set the Extension Attribute : $($_.Exception.Message)" }
    # Move the user to the OU ($location) you set above. If you don't
    # want to move the user(s) and just create them in the global Users
    # OU, comment the string below
    If ([adsi]::Exists("LDAP://$($location)"))
    Move-ADObject -Identity $dn -TargetPath $location
    Write-Host "[INFO]`t User $sam moved to target OU : $($location)"
    "[INFO]`t User $sam moved to target OU : $($location)" | Out-File $log -append
    Else
    Write-Host "[ERROR]`t Targeted OU couldn't be found. Newly created user wasn't moved!"
    "[ERROR]`t Targeted OU couldn't be found. Newly created user wasn't moved!" | Out-File $log -append
    # Rename the object to a good looking name (otherwise you see
    # the 'ugly' shortened sAMAccountNames as a name in AD. This
    # can't be set right away (as sAMAccountName) due to the 20
    # character restriction
    $newdn = (Get-ADUser $sam).DistinguishedName
    Rename-ADObject -Identity $newdn -NewName ($_.LastName + ", " + $_.GivenName)
    Write-Host "[INFO]`t Renamed $($sam) to $($_.GivenName) $($_.LastName)`r`n"
    "[INFO]`t Renamed $($sam) to $($_.GivenName) $($_.LastName)`r`n" | Out-File $log -append
    Catch
    Write-Host "[ERROR]`t Oops, something went wrong: $($_.Exception.Message)`r`n"
    Else
    Write-Host "[SKIP]`t User $($sam) ($($_.GivenName) $($_.LastName)) already exists or returned an error!`r`n"
    "[SKIP]`t User $($sam) ($($_.GivenName) $($_.LastName)) already exists or returned an error!" | Out-File $log -append
    Else
    Write-Host "[SKIP]`t User $($sam) ($($_.GivenName) $($_.LastName)) will be skipped for processing!`r`n"
    "[SKIP]`t User $($sam) ($($_.GivenName) $($_.LastName)) will be skipped for processing!" | Out-File $log -append
    $i++
    "--------------------------------------------" + "`r`n" | Out-File $log -append
    Write-Host "STARTED SCRIPT`r`n"
    Start-Commands
    Write-Host "STOPPED SCRIPT"

    Here is one I have used.  It can be easily updated to accommodate many needs.
    function New-RandomPassword{
    $pwdlength = 10
    $bytes = [byte[]][byte]1
    $pwd=[string]""
    $rng=New-Object System.Security.Cryptography.RNGCryptoServiceProvider
    while (!(($PWD -cmatch "[a-z]") -and ($PWD -cmatch "[A-Z]") -and ($PWD -match "[0-9]"))){
    $pwd=""
    for($i=1;$i -le $pwdlength;$i++){
    $rng.getbytes($bytes)
    $rnd = $bytes[0] -as [int]
    $int = ($rnd % 74) + 48
    $chr = $int -as [char]
    $pwd = $pwd + $chr
    $pwd
    function AddUser{
    Param(
    [Parameter(Mandatory=$true)]
    [object]$user
    $pwd=New-RandomPassword
    $random=Get-Random -minimum 100 -maximum 999
    $surname="$($user.Lastname)$random"
    $samaccountname="$($_.Firstname.Substring(0,1))$surname"
    $userprops=@{
    Name=$samaccountname
    SamAccountName=$samaccountname
    UserPrincipalName=“$[email protected]”)
    GivenName=$user.Firstname
    Surname=$surname
    SamAccountName=$samaccountname
    AccountPassword=ConvertTo-SecureString $pwd -AsPlainText -force
    Path='OU=Test,DC=nagara,DC=ca'
    New-AdUser @userprops -Enabled:$true -PassThru | |
    Add-Member -MemberType NoteProperty -Name Password -Value $pwd -PassThru
    Import-CSV -Path c:\users\administrator\desktop\users.csv |
    ForEach-Object{
    AddUser $_
    } |
    Select SamAccountName, Firstname, Lastname, Password |
    Export-Csv \accountinformation.csv -NoTypeInformation
    ¯\_(ツ)_/¯

  • How do we create user defined Task in OM & Which report we run for the Task

    Hi
    How do we create user defined Task in OM & Which report we run for the Task.
    Regards
    Rajesh

    You can create tasks using PFCT or path: Human resources> Organizational management> Expert mode> Task catalog in Easy access.
    Check this link may be useful for you: http://help.sap.com/saphelp_40b/helpdata/pt/fb/135d89457311d189440000e829fbbd/content.htm

  • Help , how to auto create user account

    Hi, guys,
    i wanna to know how to auto create user account after use the suppliers' api to create supplier.
    i didn't find out how to auto create user account by use ap_vendor_pub_pkg.create_vendor_contact procedure.
    how to auto create the user account ?
    if you know ,tell me ,pls
    best Regards !
    Edited by: wanjin on 2013-4-15 下午11:50

    Hi Gareth,
    I wanna create an Oracle E-business Suite use account ,but how to use fnd_user_pkg.createuser procedure to relation the AP suppliers , not employee suppliers.
    the result like N:Purchasing Super User -->supplier-->Contact Directory --> create user
    then use "Create User Account for this Contact" to create user account
    Regards,
    Wanjin

  • On Mac and Firefox 3.6.6., I can't create a new folder in organize bookmarks because it is grey. I used to be able to do this. How do I create a new bookmark?

    On a Mac and Firefox 3.6.6., I can't create a new bookmark in the organize bookmark folder, because it is gray. I used to be able to do this. How do I create a new bookmark in the bookmark folder?

    For what it's worth, here's the bug on this: https://github.com/adobe/brackets/issues/1577.  It will be fixed later when we move the Getting Started files out of the install folder.
    - Peter

  • How can we prevent viewing the source code  of JSP by the user

    Dear sirs,
    how can we prevent viewing the source code by the user ( from the browser for the Viwe Sorce option) for a JSP file that use struts frame work.
    infact i don't wan the user to view the javascript that in incorporated in the JSP for various purpose...
    thanks and regards...
    Sudheesh K S
    INDIA

    Dear sirs,
    how can we prevent viewing the source code by the
    user ( from the browser for the Viwe Sorce option)
    for a JSP file that use struts frame work.
    infact i don't wan the user to view the javascript
    that in incorporated in the JSP for various
    purpose...
    thanks and regards...
    Sudheesh K S
    INDIAJSP and Servlets are programs/scripts that run on the server. The user/clients only sees the HTML output generated by the server. If you want to hide JavaScript from casual users then you can put the JavaScript code in a seperate file. This file can however be read from the Cache.

  • How do you create a list from Contacts, including Photos?

    How do I create a list of Contacts, including photos in Address Book?  I want to print this list out.

    You can print a list by selecting a group and and using "File > Print".
    In the Print dialoge you can select a print stile for the list and and check, which attributs you want to have included. Only the photo is not selectable, sorry.
    use one of the styles "Pocket Addressbook" or "Lists".

  • How can we create a data source on structures

    Hi,
       How can we create a data source on structures.
    Regs,
    abdul

    Abdul,
        Welcome to SDN!
        We can't create Datasource using Strcutres. We need to have base tables.
        For Function Module Extractors, we will create strctures. We will use these strctures as Extract Structures. But, we will get the data from Base tables only not from Strcutures.
    Strctures won't contain data.
    all the best.
    Regards,
    Nagesh Ganisetti.

  • How can i create my own t-code

    hi ,
    how can i create my own t-code with a specified applications? may i know the t-code for create a t-code
    Edited by: amarnath popuri on Nov 24, 2008 10:53 AM

    Hi amarnath popuri
    Use t-code SE93 to create a t-code.
    Check below link.
    http://help.sap.com/erp2005_ehp_02/helpdata/EN/43/2c43b427bf601fe10000000a422035/frameset.htm
    Regards
    Ashok

  • How can I download the full source code for the Java 3D package

    how can I download the full source code for javax.media.j3d
    especially I need the Transform3D.java class.
    thanks a lot
    Meir

    thank you guys I'll try to do so, I suggest you to
    join me.From the one of the (ex-!)Java3D team:
    "I'm glad to see that Sun has decided to officially support an
    open source Java/OpenGL binding, JOGL. Perhaps they will
    eventually decide to make Java 3D open source. However, be
    careful what you wish for. The Java 3D source is huge and
    complex. There are native sections for Solaris, Windows/OpenGL,
    and Windows/Direct3D, plus common code. I don't know how you'd
    open source a build process that requires different pieces of
    the code be built on different machines running different
    operating systems."
    Sounds scary - I hope we're ready for it :)

  • How can I get the XSLT source code?

    How can I get the XSLT source code?

    Actually, I want to parse customer reviews for academic purpose.
    I'm trying to follow the links in the customer reviews zone.
    For example:
    In the following page
    http://www.amazon.com/gp/product/customer-reviews/B000LU8A7E/sr=1-1/qid=1180473311/ref=cm_cr_dp_all_helpful/102-2890495-8864146?ie=UTF8&n=1065836&qid=1180473311&sr=1-1#customerReviews
    in the "customer reviews" section, there is a link "next" that gets the next 10 reviews.
    The thing is that I don't know how to imitate its action using java and actually, I'm not sure if it is possible to do that using software.
    I tried to look at the source code that I got using the previous java code I posted and I see that the next link always has the following href attributes "http://www.amazon.com/gp/product/customer-reviews/B000LU8A7E"
    I tried to see if there is any javascript that tells the page which 10 reviews to get but with no success.
    So if anyone knows how to imitate the next link action using software that will sure help me a lot.
    Thanks in advance

  • How to enable create user option in portal under user administration?

    Hi,
    In Portal, in user administration tab, always the create user and Copy to  New user option is disabled, how can i enable those?
    -Siva

    If the AS ABAP is your datasource for your users there is NO WAY you can create users in the portal UME.
    &#9679;     If the UME has read-only access, you cannot modify user attributes stored in the ABAP system, like first name and last name. You can modify attributes stored in the UME database, like street. Even if read-only access is assigned, users can still change their own passwords.
    &#9679;     If the UME has read-write access, you can create users using the tools of the J2EE Engine. Users created in this way are stored as users in the ABAP system. Extended user data that cannot be stored in the standard ABAP user record is stored in the database of the UME.
    in the read/write access the users are created only in the ABAP side and not the java. If you have the read access you cannot create users in the abap side. hence you need the SAP_BC_JSF_COMMUNICATION role to create users in the AS ABAP.....
    Trust me .......bottomline ....you cannot create users in the JAVA UME if you have AS ABAP as your datasource !!!!
    hope this helps..
    \m/

  • How Do I Create User Account with "limited admin rights"?

    Hello;
    I would like to give a handful of users the ability to login to the DCC and enable them to add/delete/modify users and or hosts only, I.e. People and/or hosts.
    Is there anyway to:
    1.  Make a user with this admin capability?
    2.  Segregate the containers they are able to modify?
    Thanks to all in advance.

    BobM53, That would be needed regardless of what front end my users log in with, in my case I was looking for them to access the DIT via the DSCC/DCC, which is not possible.  Regardless, thank you for your reply, it is reassuring to know I am headed in the right direction.
    I am now looking towards installing something else like Apache Directory Studio, or some other GUI for users to manage the directory. 
    I will most likely create one or more ACI's to build groups, adding members to those groups as needed; each group being allowed to perform functions such as create users, lockout users, add/modify hosts, etc.
    I will most likely follow the steps outlined in:
    Directory Server Groups, Roles, and CoS - 11g Release 1 (11.1.1.7.0)
    Slightly OT, does anyone have a suitable and similar proven method to "lockdown" root accounts, and who has root access?
    Thank you

  • How do we create user profile

    hi gurus
    can any one help me to create user profile.  please give me step by step procedure. 
    Thanks in advance

    hello, friend.
    this is usually the job of BASIS, for control purposes.
    nevertheless, you do t-code SU01 to create a user profile.  in the initial screen, enter a user name and click on the 'create' icon.
    on the next screens, you make entries in the address tab (only surname is required), logon data tab (for the initial password) and optionally, make entries in the defaults, parameters, roles, profile, groups and personalization tabs.
    regards.

  • How to bulk upload users in wireless using XML and CUP?

    Hello I am working with wireless and I know there is a way to bulk upload users.
    Can anyone provide an example to upload users?
    Thx
    Utyrear Ytrew

    Hi Daniel
    I am trying to add addition propertires like TV, Copier etc. to Room Mailbox in Exchange 2010 using following commands:-
    [PS] C:\Windows\system32>$ResourceConfiguration = Get-ResourceConfig
    [PS] C:\Windows\system32>$ResourceConfiguration.ResourcePropertySchema+=("Room/Whiteboard")
    Upper two commands run fine but following command gives error:-
    [PS] C:\Windows\system32>Set-ResourceConfig -ResourcePropertySchema $ResourceConfiguration.ResourcePropertySchema
    The term 'Set-ResourceConfig' is not recognized as the name of a cmdlet, function, script file, or operable program. Ch
    eck the spelling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:19
    + Set-ResourceConfig <<<<  -ResourcePropertySchema $ResourceConfiguration.ResourcePropertySchema
        + CategoryInfo          : ObjectNotFound: (Set-ResourceConfig:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    I also tried with space after set but still getting error:
    [PS] C:\Windows\system32>Set -ResourceConfig -ResourcePropertySchema $ResourceConfiguration.ResourcePropertySchema
    Set-Variable : A parameter cannot be found that matches parameter name 'ResourceConfig'.
    At line:1 char:20
    + Set -ResourceConfig <<<<  -ResourcePropertySchema $ResourceConfiguration.ResourcePropertySchema
        + CategoryInfo          : InvalidArgument: (:) [Set-Variable], ParameterBindingException
        + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.SetVariableCommand
    Pl advise the solution at [email protected] . I got this help from
    http://zbutler.wordpress.com/2010/03/17/adding-additional-properties-to-resource-mailboxes-exchange-2010/

Maybe you are looking for

  • Intercompany Stock Transfer in Retail

    Dear Experts, I have the following issue: we need to customize intercompany stock trasfer in Retail system (ECC 6). I not how to do it in normal SAP. Is it different in Retail? I cannot assign Sales Org/Distr Channel/Division and Customer to the plan

  • Connect to dvd player

    is it possible to connect sbs560 model to my dvd player? thanks.

  • Synch iphone to macbook pro

    ive had my iphone for about 10 months and ive been using a pc for everything, I just got a macbook pro and I was wondering how I could keep all my contacts and songs from my PC and transfer them to my macbook pro. I dont even know if this is possible

  • Adobe reader plugin not installing

    Hi, I'm trying to open adobe reader in safari to read pdf's. I have the latest versions of safari and reader and the plugin is within the /Library/Internet Plug-ins/ folder. I have the right boxes clicked within adobe's preferences. The plugin doesn'

  • The new lightroom will not start up.

    I have been using Lightroom CC 5.7. I downloaded the new lightroom CC (2015) and installed using creative cloud. I have uninstalled and installed with no luck, including restarts.  Any suggestions greatly appreciated. I am using Window 7 64 bit.