Moving users programmatically

I need to move an entire postoffice of users (about 1600) from one PO to
another. Obviously the best way to do this is programmatically. In the
past I have found that moving a user that is currently logged in causes
a minor disruption to the uesr. Is their a way to determine whether or
not a user is currently logged in using the Admin API? I didn't see
anything in the doc, but wanted to ask the minds to to be sure.
-thanks,
chris heath

"Chris Heath" <[email protected]> wrote in message
news:vpnHg.2780$%[email protected]..
> I need to move an entire postoffice of users (about 1600) from one PO to
> another. Obviously the best way to do this is programmatically. In the
> past I have found that moving a user that is currently logged in causes
> a minor disruption to the uesr. Is their a way to determine whether or
> not a user is currently logged in using the Admin API? I didn't see
> anything in the doc, but wanted to ask the minds to to be sure.
There is nothing in the admin object API which will do this. It might be
possible from the object API - I'm not sufficiently familiar with that to
know either way.
BTW I have a program for moving users en masse if you dont want to reinvent
the wheel - see gwmove at www.jrbsoftware.com.
John

Similar Messages

  • Moving user profiles from Server 2012 with RDS services to User profile disks Server 2012R2

    Hello i have a question about moving my C:\users profiles.
    My current settings on the servers are:
    AD-Server 2012
    SQL-Server 2012
    TS- server with RDS roles (RDwebacces, RDs broker, RD session host) 2012
    everything about user profiles is now in C:\Users
    My new settings for the server will be:
    AD-ActiveDirectory - server
    SQL-Server
    TS1- RDS (RDwebacces, broker, RDS server group management) 2012R2 (I have enabeld userProfileDisks to Filesistem server)
    TS2- RDS(Session host) load balance 2012R2
    TS3- RDS (Session host) load balance 2012
    FileSistem - server ( here i will have on E: partition the new functionality UserProfileDisks) 2012R2
    So is there a way to move profiles from TS - C:\Users to FileSistem - E:\UserProfileDisks
    I am new to this so any idea wil be helpful.

    Hi,
    If the UPD is configured on the server which holds existing user profiles, just select the option:
    store all user settings and data inside the profile disk.
    Since you are moving user profiles between different servers, then user profile contents need to be migrated manually.
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to set "Allow external users who accept sharing invitations and sign in as authenticated users" programmatically?

    Sharepoint 2013 online/office 365.
    I am creating site collection programmatically using sharepoint Auto hosted app.
    Now i want to set "Allow external users who accept sharing invitations and sign in as authenticated users" programmatically after site collection creation.
    Is it possible through code? If yes please let me know how to do it?
    Najitha Sidhik

    For SharePoint 2013 Online, check below links:
    http://office.microsoft.com/en-us/office365-sharepoint-online-small-business-help/manage-sharing-with-external-users-HA102849862.aspx
    http://office.microsoft.com/en-us/office365-sharepoint-online-enterprise-help/manage-external-sharing-for-your-sharepoint-online-environment-HA102849864.aspx
    https://www.nothingbutsharepoint.com/sites/eusp/Pages/SharePoint-Online-2013-Sharing-with-External-Users.aspx
    http://blogs.office.com/2013/11/21/sharepoint-online-improves-external-sharing/
    Please ensure that you mark a question as Answered once you receive a satisfactory response.

  • Change display language according to the user programmatically

    How to change the site displaying language according to the user ? Let say I've drop-down to select language in a web page according to that whole site display language change and also user's language in user profile need to change. How to do that in using
    server object model programmatically.

    Hi,
    According to your post, my understanding is that you wanted to display language according to the user.
    First, we can find out the current culture of the logged in user based on
    LCID.
    System.Threading.Thread.CurrentThread.CurrentUICulture.LCID
    Then you can set the language based on the LCID.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/0e5d36e1-ec06-404a-ab2c-0e0ff475abec/how-to-change-the-language-based-on-log-in-user-programmatically-in-sharepoint-2013-how-to-change?forum=sharepointdevelopment
    http://sharepoint.stackexchange.com/questions/104140/change-site-display-language-according-to-the-user
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Moving User's Home Directory from one Xserve to another

    Does anyone know the procedure for moving users (Home Directory) from one server to another?
    Is there an application that can do this?
    Xserve G5   Mac OS X (10.4.4)  

    I see your problem and I think I will soon have the same one.
    I suppose one option would be to delete out the .plist. Then when the user logs in the server should recreate it. If the user had customized it they would of course lose any information.
    You could also setup a loginhook that would just run the needed defaults write... and update them as needed. Actually I think that would be the easiest option. The only down side would be making sure every use logs in once before you remove the script.
    Hmm I guess another option would be a script that loops through all the users accounts and runs the command as the user. sudo -u usershortname defaults... But I am not sure if this would have to be done on the server it self or if it could be done through a client.
    Sorry for the rambling but I am trying to come up with an answer..

  • Error after moving user to another organiz.l unit (Edir)

    I am moving users to another org. units.
    For 2 users, i keeep seeing the following error in /var/log/datasync/connectors/default.pipeline1.mobility-AppInterface.log:
    ERROR [Device_Thread-29] [sync:252] [userID:cn=**,ou=**,o=**] [eventID:] [objectID:] [Sync] Fatal - unable to find folder object for folderId = 2
    Any idea?

    If you are moving users around OUs/Orgs then you will need to remove them from the connector, wait for them to vanish, move user in eDirectory, re-add to connector. As far as I'm aware this is a limitation in all Datasync connectors that link to eDirectory.

  • Active Directory Migration Tool Moving Users before groups?

    How are permissions to resources granted? By user or by group?
    It's been so long I can't actually remember, but I think we moved users and groups together.
    The SIDs will change if things are moving to a new domain.  But the migration tool handles that for you.

    What are the draw backs of migration users before groups in a interdomain migration? if any
    This topic first appeared in the Spiceworks Community

  • Adding users programmatically to WLS 10

    I've blogged a little about it [url http://internna.blogspot.com/2007/04/create-users-programmatically-in.html]here. Hope it helps!

    Hi ,
    Dont add the weblogic.jar file in your application explicitly then check the error you get,and also dont specify the location of the class in your application.
    Let me know if you face any errors after the above suggestions.
    Regards,
    Rohit Jaiswal

  • Creation of bulk of users programmatically

    I Am in the processing of writing a procedure to load a bulk of users inside the portal 3.0.9.
    As I understand from checking the discussion forum that I Should use the following procedures :
    WWSSO_LS_PRIVATE.LS_CREATE_USER to create an account on the Login Server
    and
    WWSEC_API.ADD_PORTAL_USER TO CREATE A USER PROFILE ON PORTAL30.
    mY QUESTIONS ARE AS FOLLOWS :
    1 - It is presumed that the wwsec_person$ table will be affected by these procedure, isn't it?
    2 - Does the number of rows should match in the wwsec_person$ table in the portal30 and portal30_sso?
    3 - If I want to grant priviliges to the news users programmatically, I should use the following procedure wwsec_api.add_user_to_list, isn't it?
    4 - How can I define the number and type of mandatory parameters required by each procedure?
    Regards

    Did you find success in your attempt to bulk load users into
    Portal?
    Please share your knowledge....
    Bryancan

  • Userdata restore after moving users to new pool

    Hi
    I recently moved users from one Lync standard pool to another but users have lost all there contacts.
    I never realised you needed to back them first before the moved users, is this now lost or can i get it back somehow?

    Hi tonysolinas,
    If you select Force, the user account is moved, but any associated user data is deleted (for example, conferences that the user has scheduled). If you do not select it, both the account and
    the associated data are moved.
    For more details,
    Move users to another pool in Lync Server 2013
    http://technet.microsoft.com/en-us/library/gg182600.aspx
    Best regards,
    Eric

  • Moved users to new message store Unity Connection

    We recently moved users to a new messwage store on exchange. These users can no longer receive their voice mail in outlook. Everyone else can. What is the issue here?
    Unity Connection
    8.5.1.10000-206
    Exchange 2003

    You may need to check the Unified Messaging profile setup in Unity to ensure it still has access into the new store.  In 2003, it uses WebDav, so if the account you are using is not setup to use WebDav on the new store, Unity can not deliver nor retrive information from this new store.  Also note, there is some sort of odd requirement with Microsoft and WebDav.. the account that uses WebDav must have a mailbox setup and at least one message sent and received to it.   (Or just logged into at least once for it to be active).  I have no idea why, but its documented at MS and seemed to fix a problem for me during a prior install with CUC and 2003 Exchange

  • Relocating LDAP user programmatically

    Hi,
    Is there an API to relocate a user programmatically, in much the same way as ldapmoddn ?

    use directoryContext.rename(pOldDN,pNewDN)to move the user

  • IMS52 - Moving Users Between Partitions

    Hello,
    We are on
    iPlanet Messaging Server 5.2 HotFix 2.09 (built Nov 18 2005)
    libimta.so 5.2 HotFix 2.09 (built 10:35:58, Nov 18 2005)
    I understand this is going off of maintenance, but we are tied to this version
    based on the portal we are using.
    Would like to verify a procedure I've been using to
    move users from one partition to another. Over the past year,
    I've moved roughly 5000 accts (out of about 57K) using the "mboxutil -r"
    command. Out of the 5000, a handful have had issues with 'disappearing'
    INBOX - all have been using the MS Outlook mail client.
    I asked our portal software support about this and they said this method
    was not supported while the user was still had a imap session going and that
    mailbox corruption could occur. They pointed me to #1 on page 642 of the
    MS Admin Guide - sure enough, it's there and I don't know why I never really
    noticed that first part. I was hoping to use this method to move users from
    our old SAN to a new one, with the mboxutil running all during the day/night.
    So, with this information, I'll probably just move users during the wee hours,
    letting them know ahead of time to not use their account during those hours.
    1) Is there anything else I should know about mboxutil rename? To this date,
    it's worked well, with the exception of the Outlook email clients.
    2) I came accross the MoveUser command, but that seems more for moving
    to another server. However, it sounds like this can be done while the user
    is logged on. Is this true?
    Would appreciate your comments.
    Thank you,
    Keith

    Hi,
    kmrnm10 wrote:
    So, with this information, I'll probably just move users during the wee hours,
    letting them know ahead of time to not use their account during those hours.You may also want to restart the imapd processes just prior to moving the accounts, to kick-off any users who have left their client running (./stop-msg imap;./start-msg imap).
    1) Is there anything else I should know about mboxutil rename? To this date,
    it's worked well, with the exception of the Outlook email clients.Nothing more to add really. There is an existing RFE (request for enhancement) to have the user automatically disconnected from IMAP when a move (mboxutil -r) is performed (RFE #6499681). MS6.3 already provides the ability to disconnect individual IMAP connections (imsconnutil -k) so this would combine the two operations.
    2) I came accross the MoveUser command, but that seems more for moving
    to another server. However, it sounds like this can be done while the user
    is logged on. Is this true?As you say this utility is more for moving users across systems which is a much different operation as the underlying store database doesn't change as it does during a mboxutil -r operation. The idea is that the move can be performed online (the user see's the 'old' account) and when they reconnect they will be connected to the 'new' account.
    Regards,
    Shane.

  • Moving users between partitions

    I have "User A" on "Partition 1" and "User B" on "Partition 2". Each partition is a startup partition, so the Applications and other root-level folders have some minor differences.
    I want to move both Users to "Partition 3" and rename "User B" to "User C". (If possible, I'd like to merge the Applications folders.)
    How should that be done?
    Thanks,
    humanengr

    IMO it's a bad idea to share users between different installs if you use both of them. this can create conflicts and confuse the system. what's your reason for doing this? and you definitely should not merge Applications.
    that said, if you use just one system, moving user's home directories to a different partition is fairly straightforward. log in as the user in question, copy its home folder to a different partition. then go to system preferences->accounts. unlock the lock, control-click on your user and choose 'advanced options". in the popup enter the new location for the home directory. then log out/in. you should be now using the new home directory and you can delete the old one.
    see this link about renaming your user.
    http://www.macworld.com/article/132693/2008/03/changeshortusername.html

  • Can only submit task to Custom destination. Caused by moved Users folder?

    I recently installed my Final Cut Studio 2 on a new Mac Pro. We've installed the system with multiple users.
    Everything works fine except Compressor. We were not able to submit any rendering tasks. After checking the batch monitor I noticed some errors being thrown. It looked like a permissions problem.
    After creating a Custom Destination that points explicitly to some folder in the user's home folder, and using that as the default target destination, compressor submits without problems.
    Is it possible that the problem is caused by moving the Users home folder to another disk? The system disk is 128Gb SSD. I didn't want my data files to be on that system disk, so I moved them to a RAID.
    Any idea on how I can solve this?

    If the RAID is connected directly to your workstation, you should be able to Ignore Ownership on that volume. (Look in the info window in the Finder)
    It is recommended to use an external drive/RAID for scratch disks and exporting destinations.

Maybe you are looking for

  • Work flow (sap-abap)

    Hi Friends,      Can anybody tell me how to search exact user exit to write code to trigger  workflow ? Thx and Regds, bapi bobby

  • DAC "clicks" with Airport Express

    Hi, I was wondering if the folowing problem has an obvious solution (and what causes it). Setup: Hegel H70 integrated amplifier with onboard DAC <-> toslink/optical <-> airport express (AE) <-> iTunes/MacBook Pro or iPad/iPhone <-> LaCie Network Spac

  • SAPconnect Internet Mail Status Problem

    I configured BI 7.0 SAPconnect for sending internet email. I receive the mail in outlook just fine. The problem is in the status field. All messages have status of sent. I would like to know what configuration is missing so I can receive status trans

  • How to create a system restore point in cmd

    We team's server can't work before patched We patched every firday. So,I want to create a task to run 'bat' for creating restore point 研小艾

  • How To Add Glyph to Character Style?

    Specifically, i want to add the "math x" as a Character Style. The font is Adobe Janson Pro, and the "glyph" (what we used to call a "character") is present. I could add by hand, but i have a lot of them. In the menus that define the character(s) you