Locks a user by e-mail address account on all workspaces

We have the latest version of apex 3.x here and being a proactive admin, I am eager to have a script I can run when people leave the organization which is literally each of their accounts by e-mail or user name no matter what workspace, it is in and then it zap (lock). I won't go workspace by workspace to do this because its a bit stupid and a waste of time. I know that I can connect to each workspace as an administrator of the workspace and do it but I thought that there must be an easier way to make only once for each workspace.


Just a suggestion to feature here, but it would be useful to have an account lockout which can be set by the administrator real apex of internal workspace on a user of this workspace admins cannot lift. Its purpose would be the type of case that I mention here where people leave the organization or you need to lock a person for security reasons.

Hi David,

We have the latest version of apex 3.x here and being a proactive admin, I am eager to have a script I can run when people leave the organization which is literally each of their accounts by e-mail or user name no matter what workspace, it is in and then it zap (lock). I won't go workspace by workspace to do this because its a bit stupid and a waste of time. I know that I can connect to each workspace as an administrator of the workspace and do it but I thought that there must be an easier way to make only once for each workspace.

Just a suggestion to feature here, but it would be useful to have an account lockout which can be set by the administrator real apex of internal workspace on a user of this workspace admins cannot lift. Its goal would be for the type of case I mention here where people leave the organization or you need to lock a person for security reasons. >

Apex 3.2 is legacy now, so don't really expect you improvements to features in this version.

However, this should not have been too difficult to achieve with PL/SQL that runs as SYSDBA.

Code below is untested, and I have no Apex 3.2 where I can test it. But chances are it will work, or at least give you a starting point.

DECLARE
  V_USER_TO_LOCK    VARCHAR2(100) := 'GUY_WHO_LEFT';
  V_MAIL_ID_TO_LOCK VARCHAR2(100) := '[email protected]';
BEGIN
  FOR R IN ( SELECT WORKSPACE_ID, USER_NAME
             FROM APEX_030200.APEX_WORKSPACE_APEX_USERS
             WHERE USERN_NAME = V_USER_TO_LOCK OR EMAIL = V_MAIL_ID_TO_LOCK )
  LOOP
     WWV_FLOW_API.SET_SECURITY_GROUP_ID(P_SECURITY_GROUP_ID=>R.WORKSPACE_ID);
     APEX_UTIL.LOCK_ACCOUNT(R.USER_NAME);
  END LOOP;
  COMMIT;
EXCEPTION
  WHEN OTHERS THEN
    DBMS_OUTPUT.PUTLINE('ERROR:'||SQLERRM);
    ROLLBACK;
END;

You can do this in a script from SQLPlus is you prefer that.

See you soon,.

Tags: Database

Similar Questions

  • I need to change my apple user ID e-mail address. Since I will be withdrawn and used my personal E-mail address instead of company e-mail. I need help please on how to do

    I need to change my apple user ID e-mail address. Since I will be withdrawn and used my personal E-mail address instead of company e-mail. I need help please on how to do it. I now use IPhone 6

    Launch Safari on your iPhone, iPad or Mac and go to appleid.apple.com.

    To an iOS device, tap on manage your Apple ID. If requested, please check your identity after the connection.

    Click or tap on change in section Apple ID and primary e-mail address.

    Edit with your new email address.

  • the user's e-mail address verification

    Hello

    Hello!

    I'm developing a flex and Adobe Air application.

    Start the user application is asked to enter their name and email... then need to send a verification code to the user.

    Once its checked only the user can enter in the application.

    E-mail address of the user verification is possible to do this in Adobe Air?

    Please help me...

    Thank you

    Shanthi

    Yep, Flex/AS3 have built in validators for the form. Just check out these links:

    - http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/validators/EmailVali dator.html

    - http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf60efb-7fda.html

    - http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf60efb-7fdd.html#WS2d b454920e96a9e51e63e3d11c0bf69084-7f4e

  • Giving a user read access to one account for all entities

    Dear all,

    We have a series of accounts of R & D in need of a user with security of the entity limited to review entities.

    We have turned on only for accounts and security principals.

    All entities have defined security classes, only accounts of R & D have a defined security cless (other accounts have a balnk security class).

    The user is not allowed to see other accounts for entities which they do not have access to.

    is it possible in HSS to create a path that allows a single user to see/read an account for entities which they have no other access to?

    Thank you.

    Best I can think of is to have different users to fill the two distinct roles, a manager of the accounts of the entity and the other to manage the accounts of R & D, which will have visibility of the R & D accounts for its entity (read/write) and other entities (read). Of course, if this is necessary for all entities it would double hfm licenses.

  • Mail address BCC showing all recipients emails

    When sending emails from Bcc, if I don't have an email address in the field address IAB isn't blind coppied to recipients.  I don't seem to have this problem before El captain.  Mail works correctly?

    Some ISPS will show BCC when there is no beneficiary 'To '. I saw not listed as a requirement before but the Mail can also that now require as a security measure to prevent the used to spam e-mail users. Always add yourself as a recipient "to".

  • How to pass all Windows messages to my address to a new e-mail address so I can close the old account?

    1. We have established a new domain and an email account for our Church and need to transmit emails arriving at our old account/email address to our new e-mail address/account.  Searched the help files but no luck.
    2. We want to transfer contacts from the old email account to our new account.  Know that we can send a blast of e-mail contacts to inform them about our new address but there are always 10% and there are those who we wouldn't be in our list of Contacts who will not get the word about the change of address, so we would like to transmit the emails that arrive automatically to the following month until that we close the old account.  Is it possible or we have to recreate our Contacts list in our new account as soon as we receive emails?
    1. We have established a new domain and an email account for our Church and need to transmit emails arriving at our old account/email address to our new e-mail address/account.  Searched the help files but no luck.
    2. We want to transfer contacts from the old email account to our new account.  Know that we can send a blast of e-mail contacts to inform them about our new address but there are always 10% and there are those who we wouldn't be in our list of Contacts who will not get the word about the change of address, so we would like to transmit the emails that arrive automatically to the following month until that we close the old account.  Is it possible or we have to recreate our Contacts list in our new account as soon as we receive emails?

    Windows Mail can't do that if you create a message rule but WinMail must be open for the rule to work. The best advice I can offer is to ask your former e-mail server if they will send messages to you.

  • e-mail address of the user containing the apostrophe is not proof of identity

    I use https://beehiveonline-apex.oracle.com/pls/apex/f?p=200 to add a new Member to a group. The user company e-mail address contains an apostrophe (e.g. o ' of [email protected]). The user receives a notification, but when she tried to follow the instructions, it is informed that because of the apostrophe, she is not able to use it as an ID valid. Is there a way to get around this other than for his change of e-mail address of company to drop the apostrophe?

    Hello

    We have a problem with 5322 RFC allowing characters like #% $"in e-mail addresses. Like Hotmail we do not allow them so if there is an apostrophe in the address does us not service the user, unfortunately.

    To enter the mail system address must lose the apostrophe and replace it with a hyphen or an underscore for example.

    Phil

  • In my address book, e-mail addresses are repeated over and more, as more than 100 times! What is the fastest way to remove them?

    Also, do you know why the rehearsals took place? Address are not ones I use, and I'm happy to remove them completely, but don't know how?

    Open "address book".
    Select the address book that contains the e-mail addresses, so that you can see them listed in the right pane of Contact.

    If you click on the "E-mail address" column heading, you can sort by e-mail address, so that all the email address are now listed one after the other.

    Left click on that to highlight the top
    'Shift' key and click the last one - everything else will be highlighted.
    Right-click on the highlighted email addresses and select 'delete '.

    How has it happened?
    Good question.
    You say that the relevant addresses are not ones I use.
    They are in the address book "collected addresses"?

    Please search to see if you have all the "Sent" saved messages seem to have used this email address in a 'TO' or 'Reply-to' field. ?

  • Change email address - without losing all my data from my current email address

    How can I change my e-mail address without losing all my data in my current email address?

    I use MSN hotmail. I want to keep all my contacts and all my saved folders.

    Thank you

    Bob

    You do not have.  You add another e-mail address as a second email account, while you keep the other at the same time.  But as stated to Veritas, it would be useful that you got a little more specific if you want a more detailed answer.

    Steve

  • Whenever the opening of Windows Live Mail, receiving the message: "your account has been locked because you ar anyone else tried to sign in too many times with incorrect e-mail address or password."

    Original title: problem of signature in emails.

    Everytime I open my Windows Live mail I get the message "your account has been locked because you ar anyone else tried to sign in too many times with incorrect e-mail address or password."    After a few seconds, I can click on cancel and my posts are appear in the preview window.  How can I stop this from happening?

    Hi Annabelle.

    What account you have set up in Windows Live Mail?

    You can first try to connect directly to the webmail to address account email configured in a browser and check what is happening.

    If you receive the same error, then you must contact the support for the e-mail service provider.

    If you use a Microsoft Account, you can post your query in the section has Microsoft Windows Live Forums to get help.

    Hope the helps of information. Let us know if you need help with Windows related issues. We will be happy to help you.

  • You are not allowed to add the e-mail address of your account and user already exists

    Hi Experts,

    My SAP CLM (Contract Lifecycle Management) System integrated system of Echosign by SAP itself and we test the functionality.

    Everything works fine and I am able to send documents to the signature of the CLM system and the beneficiaries are able to sign the document and even get all historical information and the status of it.

    But I am facing problems below 2 cases,

    1. for a particular user, whenever the user sends the document to the signature, we get the error:-"you are not allowed to add that e-mail address to your account.

    2. for another user,who already have created account itself, whenever the user sends the document to the signature, we get the error:- 'user already exists: [email protected]"" " ."


    For question 1, I googled and found the link the specified item was not found. , who seems to have the answer, but unfortunately, this link seems to be outdated.

    Capture.PNG

    Any help would be great.

    Thank you

    Uday Chassagne

    Hi Uday,

    I sent you a message in response. Please check and provide the requested information.

    -Usman

  • I forgot the e-mail address associated with my account eprint

    I forgot the e-mail address associated with my printer so can not connect to my account and change the e-mail address of printers. When I hit the forgotten password acknowledge not all e-mail addresses, I try. I know that my e-mail address of printer and my code intial eprint, can anyone help

    Hi funkybeetroot,

    Since there is no option to request the "forgot user name" on the ePrint login page, I recommend:

    1. remove the Web Services of your printer

    (On most printers, you can use the Remove option Web Services to disable all Web Services. This will remove the printer from your account ePrintCenter, remove all printing applications and data configuration parameters and also clear your printer ePrint email configuration/Configuration / address/account.)

    2. create a new ePrint account using an email of your choice.

    3 re - activate the Web Services and installation ePrint on your printer by following the instructions HERE.

  • Remove 'confirmed' e-mail address for the hijacker to my account information

    My msn account has been hacked several times.  I have taken possession each time, but can not remove the hijackers of my account info email address as it is 'confirmed' and whenever I try to enter an e-mail, I get a message stating an email will be sent to the confirmed address (the "s! hijacker) and I follow the instructions in the e-mail.  Therefore, whenever I get the account, the hijacker changes just the password and I'm once locked... It is a never ending cycle and will be until I can manage to remove the offender from my account e-mail address.  Can someone help me?

    You need to contact MSN support. Nobody here can help you.

  • MSN account has been blocked, and all valid for get info to reset attempts are not received to my alternate e-mail address

    Hello - I use abrand new account just to register for this problem. My account * address email is removed from the privacy * was blocked - I filled out a form of reset for my alternate e-mail address, but nothing up there. I then retried and and filled out a background form thanks to the regulator blocked to prove my payment options and email of recent information to prove who I am. Still not reset info received to the alternative e-mail address. Today, I tried again and there is no control of the blocked page but my password does not work and I do not have information received to the alternative e-mail address. I understand that you can have some resets sent to mobiles but I can't this configuration. Finally, I asked a password reset today and no still no reception to alt address. Help! You will need to get mail NOW. I pay for this service, but there is no support and I didn't ask for this remove - what number should I call to get this sorted out instantly or, Alternatively, to close the account that I do not pay for a service that does not work... Report as abuse

    This is not an appropriate forum to do so, however...  You want to see what I'm about to post to make sure that you have not missed something...

    You talk directly to Microsoft here.  It is - for the most part - a peer-to-peer forum (those, like you, are simply users of Microsoft products).

    You could go through this article - make sure you have done everything...
    http://www.itechwhiz.com/2011/04/account-recovery-reset-Windows-Live.html

    And someone is probably going to put these links here also:
    Windows Live Solution Center - HotMail - HotMail Forums Solutions
    http://windowslivehelp.com/
    Hotmail - Forums
    http://windowslivehelp.com/forums.aspx?ProductID=1

    Hotmail - Solutions
    http://windowslivehelp.com/solutions.aspx?ProductID=1

    How to contact Windows Live Hotmail Support
    http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htm

    Windows Live Hotmail Top issues and Support information
    http://support.Microsoft.com/kb/316659/en-us

    Compromised account - access unauthorized account - how to recover your account
    http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41

    Hotmail hacked? Take these steps
    http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspx

  • How to set up a new email account using the same e-mail address of my old computer?

    How can I configure sup a new email account using the same e-mail address of my old computer?

    Hi Melanie,

    Are you referring to the Mail app or user login account?

    If you are referring to the Mail application, you can consult the following link: Set up Mail and add contacts

    If you are referring to the user login account, you can consult the following link: create a user account

    It will be useful.

    Keep us informed on the status of the issue.

Maybe you are looking for

  • Shown online even if I'm not connected

    I have in my Skype problem. I've been online for I am not very long but I am not connected to anywhere else, also, I changed my password im always online after that I logged. Someone at - it some problem or can help with the solution?Thank you!

  • Compaq CQ58-d61SG: looking for Win 7 64 bit drivers for CQ58-d61SG

    Hello I installed a win7 on a d61SG CQ58 that came pre-installed with win8. The laptop will now go to a customer of us who wanted to make us install win 7 on it. Now the question is, I can't find the right drivers for win7 because there just win8 dri

  • I use Windows 10 and use the Canon SX20 IS. How to use the function of Photo stich?

    I use Windows 10 and use the Canon SX20 IS. How to use the function of Photo stich? Is it possible to get the procedure to use feature stich photo? Will be Zoombrowser EX for windows 10 wotk? If any expert can guide me... that will be great.

  • DeskJet does not print in vista, but...

    Hello. I have a deskjet 2540 and I have 2 computers, 1 with windows vista and the other with windows 8.1. A few days ago, there was a malfunction of the wireless network and 2 computers can no longer print. I went to install the printer on 2 computer

  • Failed to retrieve a pilot removed with the system restore

    original title: a restoration system and deleted driver I accidentally deleted a program and the system restore will not work to get it back. I think it was a driver, but I don't know which