Clean out user table in LiveCycle Database

I need to clear out the users from the the EDCPrincipalUserEntity database.  Are there any scripts that can do this since the guids are tied to other tables?
Thanks,
John

I checked with our User Manager guys.  Unfortuntely, this is not possible without messing up things.

Similar Messages

  • Users table in Portal database

    Hello experts,
    We need to store some additional information in addition to userID and password for each portal user (to additional attributes).
    If we use the standar users table of the Portal DB, is it possible to alter this table, include these two new fields without any problem?
    which is the name of this table storing portal users?
    Any advice will be appreciated.
    Thanks in advance.

    You certainly don't want to be changing SAP supplied Java tables!
    There is a documented mechanims which I point to in the <a href="https://wiki.sdn.sap.com/wiki/display/HOME/Portaluseradministration+basics">user information basics wiki page</a>. I suggest you try there...

  • To find out empty tables in a database

    Hi all,
            I have a database which gets its daily feed from a ftp file. Now is there any way i can figure out the empty tables in the databese which doesnot get any data on the feed.
    Thanks in advance,

    That's a cool little function.
    In case it ever DOES go away in future versions of SQL Server, this will do the same thing:
    --Here is the command template:  
    declare @cmdtemplate nvarchar(500)  
    set @cmdtemplate='if exists(select * from ?) print ''Table ? is not empty.''' 
    --Set up the batch of commands, one for each table, substituting ? for the table name:  
    declare @cmdbatch nvarchar(max)  
    select @cmdbatch=coalesce(@cmdbatch+'; ','')+replace(@cmdtemplate,'?',TableName)  
    from (select quotename(Table_Schema)+'.'+quotename(Table_Name) as TableName  
          from INFORMATION_SCHEMA.TABLES  
          where Table_Type='BASE TABLE') as q  
    --Execute that batch of commands:  
    exec sp_executesql @cmdbatch  
    --Brad

  • Clean up user certificate in Lync Database for Deleted Account

    Hi all,
    I have a case in which several user accounts have been deleted from AD. And not like Exchange, deleted user from AD does not remove Lync data (i dont get it why they design it differently).
    From lync server, get-csusercertificate and get-csuser for those deleted account has no result as expected.
    But when i use dbanalyze /report:user for those deleted account, the user certificate is still there.
    I run Update-CsUserDatabase -Force -FQDn xyz.domain.local still the user certificates are there.
    How can i clean up those certificates instead of waiting them to be expired?
    Thanks!

    Thanks for the feedback.
    Surely because of this issue, we need remove certificate on clients, and do the "proper" way for further account deletion. 
    If anyone curious about this case, I suggest everyone using Lync Server spend some time to try this scenario:
    1. Create user on your AD (ie: [email protected] wait for replication or force it)
    2. Enable Lync account for that user 
    3. Logon to a PC with Lync Client (i used Lync Client 2013), logon using the
    [email protected] , DONT FORGET To Save Password - that's what user usually do. You may do chat, add contacts, etc.
    4. From Lync server, with command prompt, go to Lync ResKit directory, run the following command dbanalyze.exe /report:user /user:[email protected] /sqlserver:<FQDN of Lync Server>\RTCLocal.
    At the bottom of the report, there will be information about the invoked certificate with Device ID, Publication Time, and Expiration Time, and the certificate itself. There will be more than 1 certificate for test.user if you logon to another PC and save
    the password too.
    5. Now, from user PC, logoff from Lync Client. Logon to your AD, delete [email protected], wait for some time for replication. 
    6. Now go back to user PC, sign in with Lync Client. Amazingly you're still be able to sign in to Lync, do the chat, and everything, as long as you haven't delete the sign in info.
    7. For admin perspective, you may use Get-CsUser for the [email protected], or Get-CsUserCertificate or any Get-CS command, there will be no [email protected] on your Lync Server, but if you use
    dbanalyze, there will be a quite information about that user along with their certificate. <= This is the one i haven't figure any way to clean it up.
    8. Funny thing is, if you ever notice on your Lync Server, the normal user account who logon and logoff using IM client app, will be logged on Lync Server eventviewer (Windows Log - Security). But the
    [email protected] will not be logged on the eventviewer, therefore you won't know where they are login from (what PC), like a ghost account.
    I am expecting at least there is some kind of other ResKit to clean up this junk data from server database.

  • How to write select query for all the user tables in database

    Can any one tell me how to select the columns from all the user tables in a database
    Here I had 3columns as input...
    1.phone no
    2.memberid
    3.sub no.
    I have to select call time,record,agn from all the tables in a database...all database tables have the same column names but some may have additional columns..
    Eg: select call time, record,agn from ah_t_table where phone no= 6186759765,memberid=j34563298
    Query has to execute not only for this table but for all user tables in the database..all tables will start with ah_t
    I am trying for this query since 30days...
    Help me please....any kind of help is appreciated.....

    Hi,
    user13113704 wrote:
    ... i need to include the symbol (') for the numbers(values) to get selected..
    eg: phone no= '6284056879'To include a single-quote in a string literal, use 2 or them in a row, as shown below.
    Starting in Oracle 10, you can also use Q-notation:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/sql_elements003.htm#i42617
    ...and also can you tell me how to execute the output of this script. What front end are you using? If it's SQL*Plus, then you can SPOOL the query to a file, and then execute that file, like this:
    -- Suppress SQL*Plus features that interfere with raw output
    SET     FEEDBACK     OFF
    SET     PAGESIZE     0
    -- Run preliminary query to generate main query
    SPOOL     c:\my_sql_dir\all_ah_t.sql
    SELECT       'select call time, record, agn from '
    ||       owner
    ||       '.'
    ||       table_name
    ||       ' where phone_no = ''6186759765'' and memberid = j34563298'
    ||       CASE
               WHEN ROW_NUMBER () OVER ( ORDER BY  owner          DESC
                              ,        table_name      DESC
                              ) = 1
               THEN  ';'
               ELSE  ' UNION ALL'
           END     AS txt
    FROM       all_tables
    WHERE       SUBSTR (table_name, 1, 4)     = 'AH_T'
    ORDER BY  owner
    ,       table_name
    SPOOL     OFF
    -- Restore SQL*Plus features that interfere with raw output (if desired)
    SET     FEEDBACK     ON
    SET     PAGESIZE     50
    -- Run main query:
    @c:\my_sql_dir\all_ah_t.sql
    so that i form a temporary view for this script as a table(or store the result in a temp table) and my problem will be solved..Sorry, I don't understand. What is a "temporary view"?

  • Finding all tables of a database

    hi,
    i want to find out all table of a database .
    how could i.
    thnx

    try this
    DatabaseMetaData dbmd=con.getMetaData();
    ResultSet rsTable=dbmd.getTables(null,null,"%",null);
    while (rsTable.next())
    //String tableCatalog = rsTable.getString(1);
    //String tableSchema = rsTable.getString(2);
    System.out.println("Table Name - "+rsTable.getString(3)+" - catalog  - "+rsTable.getString(1)+" - schema - "+rsTable.getString(2)+" - Type - "+rsTable.getString(4));
    rsTable.close();

  • User temp tables not getting cleaned out from tempdb?

    Im seeing what looks like temp tables that are hanging around in tempdb and not getting cleaned out.
    This is SQL 2008 
    SELECT * FROM tempdb.sys.objects so WHERE name LIKE('#%') AND DATEDIFF(hour,so.create_date,GETDATE()) > 12
    Im seeing about 50 or so objects that get returned and they are user_table and some of them have create dates of several days in the past.  Now I know users do not run processes that take that long, so why are these objects still hanging around?
    TempDB gets reset after a server restart, but other than that, how long are these things going to hang around?

    A local temporary table scope exists only for the duration of a user session or the procedure that created the temporary table. When the user logs off or the procedure that created the table completes, the local temporary table is lost. 
    You can check the below blog for more information
    http://sqlblog.com/blogs/paul_white/archive/2010/08/14/viewing-another-session-s-temporary-table.aspx
    --Prashanth

  • Authorization scheme for users stored in a database table?

    Hello!
    I'm trying to find out how to make an authorization scheme for database users.
    I first made an authentication scheme for my current application, I named it "Authentication for database accounts", and the scheme type is "Database Accounts".
    A word of explanation:_
    I have a table in my database, named "USERS". Inside this table, I have the following columns:
    - USERID (NUMBER)
    - USERNAME (VARCHAR2(50))
    - PASSWORD (VARCHAR2(50))
    - EMAIL (VARCHAR2(200))
    For this question, I'll take an example user. The username is USER and the password is USER. Email and UserID don't matter here, but let's just say the UserID is 1.
    What I want:_
    When you go to the application, and you are requested to log in (page 101), then I want a user to be able to log in with the data that has been stored in the USERS table.
    So, on the login page, the user will enter USER as username, and USER as password. The authorization scheme then needs to check whether or not this username and password match the data in the USERS table. If it does, then it must sign the user in with the credentials the user entered (those being USER and USER).
    I also want the UserID to be stored somewhere in the application (if possible, in an application item).
    How do I do this? I've never made an authorization scheme before... I'm not too good with PL/SQL either, but I'm working on that part.
    Any help is greatly appreciated.

    I'm trying to find out how to make an authorization scheme for database users. I think there may be some confusion here. An authorization scheme gives the user access to different parts of an Apex Application. Database users are the users that you use to login to the database, for example with sqlplus.
    From the rest of your post it sounds like you need a custom authentication scheme to validate users against a custom table. For this you need to create a custom authentication scheme and select use my custom function to authenticate. Exactly how you set up the authentication scheme depends on the version of Apex you are using. But an example of validate user function you could use is given below:
    function validate_login (
       p_username   in   varchar2
    , p_password   in   varchar2) return boolean
    is
    v_result varchar2(1);
    begin
    select null into v_result
    from USERS
    where userid = p_username
    and password = p_password;
    return true;
    when no_data_found then return false;
    end validate_login;Once the user has successfully logged on the userid will be in the APP_USER apex substitution string.
    And for Application Express Account Credentials, does this mean an admin must make each new user by hand?If you using Apex account credentials the user details are stored within the Apex tables. You can create users using the Apex admin application or by using the APEX_UTIL.create_user api.
    Rod West

  • How to clean tables in Ides database of Mobile Sales

    Hello experts,
    I'm working with Mobile Sales v 4 SP08, and SQL Server 2000 Standard Edition.
    I have created a new extract for a site.
    In order to go faster loading the new extract synchronizing MSA client, how could I clean the Ides database into MSA client ?
    Best regards
    Juan

    Hi Pratik,
    Thank you, but I'm not interesting in complete archiving process.
    I only want clean tables into Ides database into SQL Server of MSA client, with SQL tools. From SQL Interprise manager.
    When I create a new extract for existing user and synchronize it, the import operation is very slow because SQL server needs delete the old records in all tables and import new records.
    As far as I know, detaching Ides database, saving it, ... some operations...., and restoring it, we can clean all records in tables. After that we will synchronize and will load new extract.
    Kind regards
    Juan

  • User Access to all tables of a database

    Hi,
    Is it possible to create a user that has access to all tables in a particular database?  I know I can grant permissions on individual tables, but I would like to create a user that can add, delete, and insert data into any table in the database.  This is easy in MSSQL, but not so easy with MaxDB
    Thanks and Kind Regards,
    Diana Hoppe

    It's not so easy, because it's a nonsense requirement!
    While it may be convenient to be able to just access data and db-objects during development, this becomes a nightmare on production.
    It's far easier and usually better to create schemas to put the database objects in and roles that have the required permissions.
    Then you can grant the roles to the users that need them.
    This way you've cleanly separated the naming (schemas) from the permission (roles/users/grants) aspect.
    A common approach for this is:
    - SYSDBA user (e.g. SUPERDBA) owns the application schemas and can create/alter the objects in it
    - SYDBA also owns the roles and users.
    One step more secure would be to have a specific user own the application schemas - just like it is the case for NetWeaver databases.
    With this, you can have your DBAs have their superuser access to the database and still not the super-easy option to look at the data.
    regards,
    Lars

  • The VersionEntity table does not exist in the LiveCycle database. Please bootstrap LiveCycle db

    I am using Livecycle 8.2 running on JBOSS. I get this error in server log
    2013-07-25 13:48:33,809 ERROR [com.adobe.idp.config.AdobePreferenceFactory] UserM:GENERIC_ERROR: [Thread Hashcode: 5001776] Problem with system root| [com.adobe.idp.storeprovider.jdbc.DBStoreFactory] errorCode:12293 errorCodeHEX:0x3005 message:The VersionEntity table does not exist in the LiveCycle database. Please bootstrap LiveCycle database.
    2013-07-25 13:48:33,809 INFO  [STDOUT] java.lang.RuntimeException: The VersionEntity table does not exist in the LiveCycle database. Please bootstrap LiveCycle database.null
    Also not able to login using Administrator password. Assuming above error is the cause. Please any help is appreciated. Thnks.

    Is this observed on a running server or have you made any changes to LC server or database after which this error is seen?
    --Santosh

  • Using one user account table across multiple databases but account used as a foreign key

    I want to use one user account table from one database and use it across a couple other databases. The problem is that I want some tables to use the primary key from the user account table as a foreign key to access the data when the user logs in. Is this
    the right way of going about it? Do I have to create a user account table in all my databases? What is the best practice to handle this problem? Thanks in advance.

    You can use Triggers or using replication. 
    more info: 
    Add Foreign Key relationship between two Databases
    SQL Server Replication
    Saeid Hasani [sqldevelop]

  • How to generate a report from crm table to find out user status changes

    Dear all,
    Could you please help me on generating a report from SAP CRM table level
    to find out user status changes in crm orders for a specific period of time?
    Thanks in advance,
    Regards,
    Shaik

    Hi Shaik.
    You would not need to write report for this. You need to create a Table view mainenance for the CRMD_ORDERADM_H or CRMD_ORDERADM_I for whichever  you need.
    Follow the below or search on google for more on table view maintenance.
    Go to SE11, give the table name and click on change. Then Go to utilities--> Table maintenance generator.
    In the table maintenance generator screen, you should give Authorization Group,
    Function Group name (Function Group name can be same as table name),
    Maintenance type can be one step or two step, usually you will create with one
    step. You should give maintenance screen number. After clicking on create button,
    a table maintenance generator will be created.
    To check it go to SM30 . In SM30, you find display, Maintain options.
    You can view the table contents by choosing Display and  supplying the selection criteria of dates.
    Regards
    Apoorva

  • How to search this value in oracle database to find out the table

    Hi expert,
    I know there is a value in oracle database, please show me how to search this value in oracle database to find out the table holding this value.
    Many Thanks,

    918440 wrote:
    Hi friends,
    this question is really practical, I already know there is value from application saved in database, I want to search the whole database to figure out which table the value is contained.write SQL that writes SQL to query every table.
    Handle:     918440
    Status Level:     Newbie
    Registered:     Mar 2, 2012
    Total Posts:     20
    Total Questions:     10 (10 unresolved)
    why do you waste time here when you NEVER get any answer to any question you post?

  • Importing all tables and users from Oracle 8i database to Oracle 10g

    Hi friends,
    It would be highly appreciated if someone would kindly advise steps needed to
    import full Oracle 8i database ( with all users, tables, table spaces
    and other components ) to Oracle database 10g .
    Thanks and regards

    hi
    ur exp ur database from oracle 10g. from exp cmd instead of expdp cmd bcoz oracle 10g. expdp cmd is not compitable with oracle 8.
    simple give cmd>exp cmd if u want exp complete database from oracle 10g..
    if u have any problem go reference oracle database utilities ....
    and then imp in oracle 8 using imp cmd cmd>imp cmd bcoz here u want imp complete database....
    i hope u do ur work successfully...
    regards
    Mohammadi

Maybe you are looking for