Create AD users from SharePoint from
What I want to do is to allow HR to create new users in AD and Exchange through SharePoint form, is there is anyway to do without using third party applications?
No way to do this using just the Out of the box features. It would require custom coding or a third party application. Probably the easiest way would be to create a PowerShell Script and schedule it to run every night to create users whose
information is added to a SharePoint List.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.
Similar Messages
-
Creating FBA user from the timer job
Hi,
I'm trying to create FBA users from the timer job,
The code to it:
MembershipCreateStatus createStatus;
MembershipUser user = Membership.CreateUser(strUserID, strPassword, strEmail, "Test Question", "Test Answer", true, out createStatus);
switch (createStatus)
case MembershipCreateStatus.Success:
//SendMail
break;
case MembershipCreateStatus.DuplicateEmail:
//Log in to the error file
break;
But it throws the error:
Unable to connect to SQL Server database in the timer job
Regards,
Sachintimer job has its own app.config, which is completely separate from the web.config
plus, this is a terrible idea.
Scott Brickey
MCTS, MCPD, MCITP
www.sbrickey.com
Strategic Data Systems - for all your SharePoint needs -
Create an user from the existing user.
Hi All,
Recently i have created one user from the existing user in a different server.
Oracle version :10.2.0.1.0
I have granted the similar roles same as in production.
In Production:
SQL> select granted_role,grantee from dba_role_privs where grantee in ('TRADELOANS');
GRANTED_ROLE GRANTEE
RESOURCE TRADELOANS
CONNECT TRADELOANS
In Test:
SQL> select granted_role,grantee from dba_role_privs where grantee in ('TRADELOANS');
GRANTED_ROLE GRANTEE
RESOURCE TRADELOANS
CONNECT TRADELOANS
But the user complained that he is getting error like 'user lacks CREATE SESSSION privilege'. He also says he is able to connect to production but for the test he is getting that error
Can anybody let me know where i have done the mistake?
Regards
Arunarundba wrote:
Hi Kamran,
I listed the roles given to the user in my first post. I have granted connect and resource role to the user.
and it is same in production also. But the thing is why he is able to connect to production and not for test?
Regards
ArunSee the following demonstration:
SQL> create user t identified by t;
User created.
SQL> connect t/t
ERROR:
ORA-01045: user T lacks CREATE SESSION privilege; logon denied
Warning: You are no longer connected to ORACLE.
SQL> conn / as sysdba
Connected.
SQL> grant connect to t;
Grant succeeded.
SQL> conn t/t
Connected.
SQL> -
Need to create a user from procedure
Hi to all,
I need to create a user from oracle stored procedure. i am able to create a proceure successfully, when i am executing the procedure i cant able to successfully run it. it is throwing insufficient privileges. i tried to run the procedure from system user also.
The below one is the procedure.
create or replace procedure sp_createsuser(username varchar2)
as
begin
execute immediate 'create user ' || username || ' identified by ' || username;
end;
the code is parsed successfully and created without any errors
when trying to executing it throwing error as insufficient privileges
the user is dba privileged and tried this procedure to execute from the system user also, getting the same output.
I need to know whether it is possible to create user from a procedure, package or a trigger.
Thanks in advance.Hi,
I guess the message is pretty clear !! you lack privilege.
SQL> conn imx/imx
Connected.
SQL>
SQL> create user testproc identified by testproc;
create user testproc identified by testproc
ERROR at line 1:
ORA-01031: insufficient privileges
SQL> create or replace procedure sp_createsuser(username varchar2)
2 as
3 begin
4 execute immediate 'create user ' || username || ' identified by ' || username;
5 end;
6 /
Procedure created.
SQL> exec sp_createsuser('testproc');
BEGIN sp_createsuser('testproc'); END;
ERROR at line 1:
ORA-01031: insufficient privileges
ORA-06512: at "IMX.SP_CREATESUSER", line 4
ORA-06512: at line 1
SQL> conn sys/******* as sysdba
Connected.
SQL> grant create user to imx;
Grant succeeded.
SQL> conn imx/imx
Connected.
SQL> exec sp_createsuser('testproc');
PL/SQL procedure successfully completed.
SQL> conn sys/syssys as sysdba
Connected.
SQL> select username from dba_users where username like 'TESTP%';
USERNAME
TESTPROC
SQL>Regards -
Error message in creating EBP users from existing SU01 users
I am getting the following error messages when i try to create EBP users from existing SU01 users using users_gen: Error during creation of user: User not created or error(s) occurred during user creation. ``Central person`` already exists for user (BBPU_MESSAGES 042). Pls what does it mean and how do i solve this?
Babalola-
The message is indicating that the user you are attempting to create was previously created in the EBP system.
First I would try to correct the user via users_gen using the "check users" option. This may repair the user, but if the user has lost the association to the org then you will need to take some manual steps to re-establish the links for the user in the org details.
If this doesn't correct it, then use transaction PP01 to correct/verify the following relationships for the user. Start with the org unit and work your way down looking for the broken link/s.
Here are the required relationships for the objects:
ORG UNIT:
Relationship Object
B 003 Position(of user)
POSITION:
Relationship Object
A 003 Org Unit
A 008 Central Person (of user)
A 008 User
CENTRAL PERSON:
Relationship Object
B 008 Position
B 207 Business Partner
B 208 User
USER:
NONE
BUSINESS PARTNER:
NONE
Hope this helps you.
b -
Create new users from an excel spread sheet
Hi Everyone.
I am very new to SAP and I have only done the ABAP programming course last month.
To make mme become familiar with ABAP - I was given a task of creating users from an Excel spread sheet - This will be used later on when we implement the new SAP system and decommision the legacy system.
I am just wondering If anyone has created such program - I would appreciated If I can have a copy So I can learn how it is done -
At the moment, I was thinking of using BAPI_USER_CREATE1 and BAPI_TRANSACTION_COMIT to create users and optimise the creation call. Is there any thing else that I should be aware of ? I'd be appreciated if someone drop me some ideas - Thanks in AdvanceHi Samantak.
Thanks for your quick response.
Since posting the question, I discovered that within 'BAPI_USER_CREATE1' sub-call statements - comit is already done. Now my questions are:
1) Do I still need 'BAPI_TRANSACTION_COMIT' to optimise the CREATE new newusers call ? Apparently, yes.......I am curious for the reason 'why' since comitting is already done.
2) I did an interactive call of the 'BAPI_USER_CREATE1' - a user id was actually created in the system. Now, my second question is.. Is there a way of calling 'BAPI_USER_CREATE1' without comitting the data (i.e. create user record on file)..
I want to call this whout comitting because I want to sort out the number of 'good' records from the supplied data list - and presenting the success percentage to the users before comitting the data.
Thanks -
Hi,
I need to create a user who can only access to OEM and run a job: the job execute a stored procedure that reads and writes to the oracle tables.
The user must have the least set of privileges possible.
How can I do? What privileges do I set?Sara C. wrote:
I must create a user in OEM who can ONLY:
1) access to EM
2) to create and run a job, or to view and run a job created by user SYS. The job run a stored procedure
the user can not:
1) access the Oracle schema and view the contents of store procedures, such as packages and are defined.Also I didn't get the need of such user, AFAIK I don't think that's possible. From EM, the users who are created are considered as teh admins of the EM. Why you want to make such user? If a job is made by Sys, why not log in as Sys and monitor it as well ?
Aman.... -
Not able to create a user from the admin console.
After entering all the mandatory fields in the form and submitting that it throws a error page with START DATE ERROR
hi Thanks for giving reply
i don't change the code.we are not giving any dates also.
i am using oim 9.0.1 and the application server is jboss-4.0.2
the details we are giving only the mandatory fields in the create user form.
Is there any conflict with the database. and the information is
2007-08-09 12:37:26,237 ERROR [XELLERATE.ACCOUNTMANAGEMENT] Class/Method: tcUserOperationsBean/createUser encounter some problems: maoErrors:Error occurred in Event Post Insert of the OIU object, contact system administrator.
2007-08-09 12:37:26,237 ERROR [XELLERATE.WEBAPP] Class/Method: tcManageUserAction/createUser encounter some problems: End Date Before Start Date
2007-08-09 12:37:29,522 DEBUG [org.quartz.impl.jdbcjobstore.StdRowLockSemaphore] Lock 'TRIGGER_ACCESS' is desired by: QuartzSchedulerThread
thnks
ravi -
Change Created By in process - Create Xellerate User from GTC
Hello,
I configured a GTC recon rule to create new OIM user (xellerate user). The rule is worked, new OIM user has created. I have access policy that auto provisoned AD resource for this new user. The rule is also worked good.
Now, I like to change the USR_CREATEBY in USR table to the other specificed user (OIM service account) and also like to change the "Resource Provisioning Details - Assigned to" to this OIM service account. I could not find any configuration that could change this user created by to the specific user. Any suggestion please!
ThanksRecon process is always run as the user which started the scheduler process. This user is defaulted to xelsysadm defned in xlconfig.xml.
-
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 -
Create OSS user from SAP Solution Manager
Hi all,
as VAR, a customer ask us to create a OSS user to him because ir has no access to his customer data/area in Marketplace. SAP tell us that we have to create the OSS user directly in our SSM but I didn't found any way to do that in SSM.
Someone has done that this already? can anone guide me in this task?
thanks in advance
Pedro RodriguesHi Pedro,
You have transaction code AISUSER
Normally you have 2 columns but if you are in var scen then you wil have 3 columns.
in this transaction you can have your Customer no,UserID & S-User (without "S000")
for the respective person
You can goto spro->scen specific->std config->Solution Manager->Connection to SAP-> multiple sap customer no
just perform this activity for VAR scen...read the IMG Text
Also
Asssign S-user for SAP Support Functionality
Hope it clarifies your doubt.
Regards
Prakhar -
SQLAzure: Creating Database User from Dacpac
Is it possible to create custom Database users with post deployment steps, and get it deployed as part of Dacpac ?
Hi,
It seems that the SqlPackage.exe Import action does not have any parameters that you want use to specify the database version or MAXSIZE of target server.
You can refer to the following article about Import Parameters and Properties of SqlPackage,exe:
http://msdn.microsoft.com/en-us/library/hh550080(v=vs.103).aspx
Ref:
https://social.msdn.microsoft.com/Forums/en-US/e5fef831-7f52-4626-8923-0aa493efc2a8/sqlserver-2012-partially-contained-database-user-created-by-dacpac-cannot-login?forum=ssdt
Hope this helps you.
Girish Prajwal -
Create Oracle USER Account from Third Party System
Hi there
We have requirment to create Oracle USER Account through third party system.
How can we achive this?
I know ORacle Provide FND_USER_PKG.CREATEUSER API to create user
Is there any special thing we have to do to create Oracle USER from another system?
Thanks
ASIMHi,
Is there any special thing we have to do to create Oracle USER from another system?I believe you need to check the third party manual or contact the vendor for other considerations when creating user accounts from this system.
For FND_USER_PKG, please see the links referenced in this thread.
change password of EBS user
Re: change password of EBS user
Regards,
Hussein -
"create user" not same as creating user from Administration?
I have created users both from scripts and from the Administration pages and am getting different results.
I created a user from a command line script (e.g., "create user <name> identified by <password>"), and then later granted the user all the privileges from the Administration -> Database users -> Manage Users page.
I created a second user from within the Admin pages - this user has all the privileges and works fine.
The user I created from the command line and then granted all privileges (including "DBA" and all explicit privileges) is NOT working correctly.
Specifically:
1. "select ... from ALL_OBJECTS" returns no records. (ALL_TABLES, ALL_INDEXES, and everything else that I try seem to work ok, but in order to see "ALL_OBJECTS", I have to explicitly qualify it with "SYS.ALL_OBJECTS".)
2. When compiling PL/SQL procedures, etc. in that user schema, the built-in packages are not visible unless I explicitly GRANT EXECUTE on each package to the user (from a system account). At that point, they are accessible.
I tried searching the forums for similar topics and didn't find any. I apologize if this is a redundant post, but it is driving me crazy.
Can someone tell me how to make sure the script-created users get all the appropriate rights, and why when they are granted rights from the Admin screens, they still don't appear to have all the rights?
I would strongly prefer not to drop the user account and rebuild it, as there are already 2200 existing objects (tables, procedures, indexes, etc.) in the user account.Please disregard this post. While investigating another issue, I discovered that the user account from which I had migrated 600+ tables had (for some unknown reason) empty copies of ALL_OBJECTS, USER_INDEXES, and USER_IND_COLUMNS in the user tablespace, so these got copied over with the other valid tables. Having "local" (and empty) copies was causing most of the issues.
-
Creating user from template in powershell - Server 2012 R2
I've been research online how to create a user from a template in powershell and so far can't get it to work. Here is what I'm using:
$instance = Get-ADUser –identity template_user
New-ADUser –SamAccountName Test_Scripts –Instance $instance –Name “Test Scripts” –Enabled:$false
I'm getting an error saying the operation failed because UPN value is not unique. This is a very strange error to me, because it is saying that about the "-Instance" account. But of course that one isn't unique. That's the template.
If I remove "-Instance $instance" from the code, it works just fine and creates the account, just not from a template, obviously.
Any ideas? Below is the entire pasted error.
New-ADUser : The operation failed because UPN value provided for addition/modification is not unique forest-wide
At line:1 char:1
+ New-ADUser –SamAccountName Test_Scripts –Instance $instance –Name “Test Scripts” ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (CN=Test Scripts...domain,DC=com:String) [New-ADUser], ADException
+ FullyQualifiedErrorId : ActiveDirectoryServer:8648,Microsoft.ActiveDirectory.Management.Commands.NewADUserHi,
You'll need to supply a unique UPN for the new user by adding in the -UserPrincipalName parameter.
http://ss64.com/ps/new-aduser.html
Don't retire TechNet! -
(Don't give up yet - 13,225+ strong and growing)
Maybe you are looking for
-
Unable to Install on Vista 64 SP1
Hello Adobe I do not see any information on trying to install the AIF Toolkit on Vista. I've tried to install it a few different times and I get "Setup has encournted an error and cannot continue. Contact Adobe Customer Support for assistance. Intern
-
Exporting and I photo slide show to IDVD
I am trying to expoert a slideshow from Iphoto to IDVD the problem is that I have 2 songs on the slide show but after the export only one song will play. the slide show continues after the first song but not the music? I like the auto ken burns effec
-
Project Status Report - cProjects 4.0 - Run time error
Under Basic Settings, I go to 'Forms for Printing and for Project Status Reports'. Here, under 'Create PDF-Based Forms', I select the form 'DPR_STATUS_REPORT_AIF' and Activate it. I then get to 'Activate Forms per project type'.I get to 'New Entries'
-
Billing date on rebill invoice
Hello, This is a credit & rebill situation (due to tax error, for example). I'd like to be able to give the customer a new, corrected invoice with the same billing date as the original. However, if the credit & rebill is happening in a subsequent per
-
Why can't I click on more info in apple menu
I can't click on more info I need that to download some software. Can somebody help me with this?