Portal user creat
Why I can not create the user in Portal 7.0? I'm logged J2EE_admin or SAP* and i'm have a role Superadmin
Hi Sergo
As per you have installed the JAVA stack of NetWeaver 2004s together with the ABAP stack. Because of this SAP J2EE UME is connecting to an ABAP System is using ABAP, which assigns the SAP_BC_JSF_COMMUNICATION_RO role to the communication user, which only allows read-only access by default. So you can't create users from within the UM but only with transaction SU01 in ABAP.
Hope that this might help you.
Thanks & regards
Arun Singh
Similar Messages
-
Create new portal-user with webservice
Hi,
I'm trying to develop a ejb-webservice which is creating a new Portal-User.
The webservice is working so far, I made methods like getDisplayName() which is returning the display name to a logonId and so on. All this is working. I'm using the component sap.security.api.sda for this.
Problem: User-creation is not working. I think the problem might be, that a webservice is not authorized to create users? Or putting it in another way: Is it possible that a webservice is "logging in" at the portal, or sohehow authorizing itself?
Thanks and regards
Jan HempelHi Detlev,
thanks for Your answer.
It seems like that the problem was caused by using array-parameters in the webservice-method?!
Strange, but after removing the array-parameter from the method it worked! Before the webservice never returned anything, not an error or anything else.
Well, strange enough, but I can live with that.
regards
Jan -
New Portal User options are disabled when trying to create a new User
Hi All,
I am trying to create a new portal user profile using the administrator login. While doing that, I am getting all the options ( used to create the new user ) as disabled. Can anybody let me know the reason & solution of such a problem.
or
Anyone can provide me the document on how to create the new profile on portal. Thanks.
Best Regards,
Chander Kararia
Edited by: Chander Kararia on Jan 15, 2009 7:26 AMHi Chander,
I just want to know if you are able to modify the attributes of an existing user. If not then you have been assigned the User Admin role (read only). Please check that. If yes then revert.
Regards.
Rajat -
Create Portal Users (In English)
Hi...
I'm creating users manually in Portal via PL/SQL with this functions:
wwsso_api_user_admin.create_user(uid,pwd,uid || '@xxxxxxx.com',sysdate,null,false,foo);
dbms_output.put_line('user created');
portal30.wwctx_api.set_context(p_user_name => 'PORTAL30',p_password => 'xxxxxxx');
DBMS_OUTPUT.put_line('context set ');
foo := portal30.wwsec_api.add_portal_user(p_user_name => uid,p_db_user => null,p_portal_user => 'Y');
dbms_output.put_line('portal user added ');
l_gid := portal30.wwsec_api.group_id(l_GROUP);
portal30.wwsec_api.add_user_to_list(p_person_id =>foo, p_to_group_id =>l_gid, p_is_owner => portal30.wwsec_api.NOT_OWNER);
portal30.wwsec_api.set_defaultgroup ( p_groupid => l_gid ,p_username => uid );
dbms_output.put_line('portal default group ');
This process creates the user correctly, but after the process, I can't access any application, even do a logout… because I’m getting this error:
[Thu Mar 29 11:34:02 2007] [warn] mod_plsql: Stale Connection due to Oracle error 6510
[Thu Mar 29 11:34:02 2007] [error] mod_plsql: /pls/portal30/STARTER.LOS_HOME_ASEG.show ORA-6510
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWCTX_SSO", line 852
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "PORTAL30.WWCTX_SSO", line 935
ORA-06512: at "PORTAL30.WWCTX_API", line 170
ORA-06512: at "PORTAL30.WWSEC_API", line 3665
ORA-06512: at "PORTAL30.WWV_USER_SECURITY", line 32
ORA-06512: at "STARTER.LOS_HOME_ASEG", line 303
ORA-06512: at line 8
The only way to use any application with this new user is closing all the browsers windows
What can i do?Yes you can. you will need to create the
login server and portal users and activate them as part of a looping block of code.
Check out the security and login server forum for how to create users using the APIs
hth -
How to create portal user and integrate with external appl login
How to create portal user and integrate the user with external application for single sign-on ?
I want to access my external application thru portal user ..?
ShyamHi Jithin,
The link that you've shared talks about a different scenario.
In my case, I want to pass the portal user id when the user clicks on the Help Link present in the header area.
I am trying to pass it along with the Help Link Url property of a masthead iview but it is not getting passed to the target Url.
I would like to know if it is possible to pass the Portal User Id in this way or not.
Though if we create a appintegrator iview and pass the user id <User.UserID> along with the target Url, it reaches there.
Thanks & Regards,
Anurag -
How to create an orgchart of users created in portal
I need to produce an org chart of our company. As the users are created in portal 902, it would seem the portal hierarchy tool would be perfect to use. However am I right in thinking that a user created in portal is stored in the oid/ldap tool. Anyone have any ideas to access the data via sql.
What comes to mind is
1. there is a dbms_ldap package, could this be used to populate a emp type table
2. A trigger that fires when a user is created that populates the emp table
Anyone done anything like this before.
Regards
OrlandoThanks for the reply Sharadha ,
I do not have actual users from portal but it comes from the LDAP, i have already used the above method and it does not have the timezone.
Depending on the request from where the portal is being accessed from i need to find there timezone.
Thanks
Deepak -
Creating portal users with owner privileges?
Hello,
I need to let local adminstrators create users in the portal.
This is based on instance-specific privileges, not global.
Setting them to 'owners' of the group in the portal should let them add users.
Once created and I log in as one of them I do not have the privileges of being an
'owner', eventhough it's visible in the portal that I am an owner.
Anybody?
/Hi,
To make the problem a little clearer.
I want to have "local adminstrators" that can manage portal users i.e; delete, insert and update portal users.
However I do not want these "local administrators" to be "Full administrators"- too dangerous.
The "local adminstrators" should belong to the same group as the users they are set to administer. The
only difference between a "local administrator" and a user of a group is that the "local administrator" have privileges
to manage the other users of the group. If I have understood the concept right an owner have these privileges.
I made them owners of the group, but this did not enable them to manage users.
This must be a rather common approach, to have some users being able to administer other users without being a fullfledge DBA.
Right now I'm looking into mapping them(the local administrators) to a different database schema with rights to manage users.
I realize that to map them to another schema, then the checkbox "Use this schema for Portal Users" have to be checked when creating the
schema. How do I check if this was checked and if it wasn't checked can I alter it now?
Another thought is to dynamically upon meeting certain conditions making them Full Administrators, then after finishing the task
reinstating them as normal users.. but this.. well hmm
Thanks.
/ -
Create portal user using web dynpro abap application
Dear All,
I would like to know is it possible to create portal user-id through web dynpro abap application.
My requirement is
> I have to create a web dynpro abap application. In the web dynpro abap application I have name email-id and phone number as entry fields.
> I will click on submit, one unique id will get created. This unique id will be the login id for portal.
I found how to create portal user using web dynpro java, but i could not find regarding web dynpro abap.
If it is possible to create the portal users using web dynpro abap pls share the code as well.
Regards,
Swapnil IndulkarHi swapnil,
I think by using BAPi.. BAPI_USER_CREATE1 you can create.
Please check this...
Create portal user from webdynpro abap
Creating user and assigning a group through code
user administration su01
How can i get the portal user id from logon ticket in the webdyn 4 ABAP
Cheers,
Kris.
Edited by: kissnas on May 21, 2011 8:47 AM -
Creating portal users from SU01 users
Hi,
We are on SRM 7.0 and have a requirement that whenever an SU01 user is created, a portal user should also be created immediately corresponding to this SU01 user.
Since we are also using SUS, whenever an admin supplier creates a contact person for his company, an SU01 user is created at the backend. We want this contact person to be created automatically in the portal. Currently its an offline activity where the admin supplier calls up the helpdesk to enable his contact person in the portal.
Pl shed some light on this.
Thanks & regards,
NikhilThanks for the update.
We don't have an LDAP and hence option 1 is ruled out for us.
If i have the Portal UME as a data source, then how to replicate the users that are created in SRM?. The Users are created an SRM for EBP-access as end users, approvers, purchasers, bidders etc... and how to replicate these users to the Portal?. The SUS users are accessing both SUS functionality and bidder functions and hence they need to be in Portal Or they have to go to 2 different links with different password and hence we need to replicate the SUS users to the Portal too.
We are not considering CUA as of now and hence as of now this is ruled out too.
Any pointers/suggestions are highly appreciated.
Thanks
velu -
User created but can't log into Portal. OID not in-sync with Repository.
Logged into Portal as portal
Go to Administ Tab
Created a group i.e. TestGroup
Created a user i.e. TestUser, put the user's default group as TestGroup.
I logged-out and and tried to log in as TestUser it doesn't let me log into Portal.
I do see the TestUser under TestGroup when going to Administer Tab and checking it, but some how can't log-in. I tried to use wwsec_api.user_in_groups to print the group names using SQL-Navigator but it never returns anything for the user I created above.
username := 'TestUser';
groupid := WWSEC_API.USER_IN_GROUPS(p_user_name=>username);
..........Now if if try the following and use portal it returns me all the groups the portal user is in i.e.
username := 'portal';
groupid := WWSEC_API.USER_IN_GROUPS(p_user_name=>username);
..........Looks like OID and repository are not in-sync. Can someone give some in-sight why is this happening and what can I do to fix this. I even tried adding the user under some other groups but still never returns me the groups when I run the above PL/SQL.
ThanksUnder Administer -> SSO/OID Tab I have Enable directory synchronization is checked. But still can't log in. Any ideas.
Thanks -
In 9.02 I would like to make a form that creates the portal users, assigns user profile info and assigns them to a specific group. Does anybody have the plsql needed to do this?
Hi,
You can use the form on tables to build a form on the user table and have a trigger on this table which inserts and updates the other tables or have a form on a procedure which will insert into the user table and the other dependant tables. In the case of form on procedure you will have to build a procedure with parameters same as the input fields. -
What Built-ins must I call to create a Portal user?
Tom,
This post is best suited to the Oracle9iAS SSO and Portal Security forum.
Thanks -
Hiii,
Iam creating portal users in the web dynpro.I had taken Grid layout.I written code like this.
public void onActionCreateUser(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionCreateUser(ServerEvent)
String user = wdContext.currentContextElement().getUser();
String lastName = wdContext.currentContextElement().getLastName();
String firstName = wdContext.currentContextElement().getFirstName();
String email = wdContext.currentContextElement().getEmail();
IUserFactory userFact = UMFactory.getUserFactory();
try {
IUserMaint userMaint = userFact.newUser(user);
userMaint.setLastName(lastName);
userMaint.setFirstName(firstName);
userMaint.setEmail(email);
userMaint.commit();
wdComponentAPI.getMessageManager().reportSuccess("User Created "+user);
} catch (UMException e) {
wdComponentAPI.getMessageManager().reportException(e.getMessage(),false);
e.printStackTrace();
//@@end
In the output iam getting
: Vijay
: Vijay
:Tivari
: email address giving
Label is not displaying in the output (.that is the left part).But iam able to create the users.
Name
First Name
Last Name
Email
These things have to be shown in the output.
Please provide the solution for this.Hi
Iam creating portal users in the web dynpro. Iam getting error in the code
_Error : The method setPassword(String) is undefined for the type IUserMaint*_ *
Will anyone help me to sort this issue.
Please reply the necessary code.
public void onActionCreateUser(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionCreateUser(ServerEvent)
String user = wdContext.currentUserDataElement().getUser();
String password = wdContext.currentUserDataElement().getPassword();
String lastName = wdContext.currentUserDataElement().getLastName();
String firstName = wdContext.currentUserDataElement().getFirstName();
String email = wdContext.currentUserDataElement().getEmail();
IUserFactory userFact = UMFactory.getUserFactory();
try
IUserMaint userMaint = userFact.newUser(user);
{code}userMaint.setPassword(password);
userMaint.setLastName(lastName);
userMaint.setFirstName(firstName);
userMaint.setEmail(email);
userMaint.commit();
wdComponentAPI.getMessageManager().reportSuccess("User Created "+user);
catch (UMException e)
wdComponentAPI.getMessageManager().reportException(e.getMessage(),false);
e.printStackTrace();
//@@end
Regards
Sushma -
Create a portal user with a specific Organizational Unit in the OID??
I would like to split my portal users by Organizational Units in the OID.
e.g.:
ou=country1, cn=user1
ou=country1, cn=user2
ou=country2, cn=user3
is it possible?
is it possible trough the administer tab of Portal?
Any experience ?
feedback??
Thanks
DidierI think it is feasible.
But not through Administer tab.
Use your own api to add users (DBMS_LDAP.add_s + WWSEC_API.add_portal_user)
cn=user1, ou=country1, cn=user_search_base
cn=user2, ou=country2, cn=user_search_base
or maybe try to change dynamically user_create_base, I don't know if it is possible or not -
Create Portal user programmatically
Hi,
I've been told there was an API in the 3.0.8 portal release to allow the creation of portal users in the Login Server programmatically.
I think this API is called : portal30_sso.wwsso_ls_private.
Does anyone know where I can find this API description ?
Thanks.
nullThis informaiton is contained in the PDK - PL/SQL:Reference Material accessible at http://portalstudio.oracle.com
Direct links: http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/plsql/doc/sdk6pkg.htm http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/plsql/doc/sdk6apo.htm
Maybe you are looking for
-
Error Msg - There is no disk in the drive. Please insert a disk into drive
Okay, I have been using itunes w/the same ipod for quite a while. Recently my computer died so I just bought a new one. Before getting rid of the old one I logged onto windows and moved all my files to an external drive. I am now using this external
-
Depreciate the Value of an Asset ignoring Cut Over Value Key
Hello friends, I have maintained the Cutover Value Key at 5 % and maintained the same in Depreication Key What is happening the system is depreciating an asset up to 95% This is correct. But what is required is that, For few asset which is having Dep
-
IPhoto 6.0.5 Thumbnails pics over the top of other photos
I have just returned to my Macbook Pro after a break and in viewing recent photos noticed some were distorted, squashed in shape , and even superimposed over the top of other pics. In other words when viewing in the Library source you see a thumbnail
-
How to change Asset Capitalization date ?
Hello All Experts, I want to chnage asset capitilizatio date so how can I ? Experts guidance is needed. Regards, Pankaj.
-
[CS2]How to get the Image Width & Height using JS (ILLUSTRATOR CS2)
Hi, How to get the Image width & height of an Image using javascript .Im using Illustrator CS2. Any sample code Regards MyRiaz