How to use STSADM commands in sharepoint 2007

How to use STSADM commands in sharepoint 2007

Hi,
There is no such STSADM commands to get the user groups.  There are two separate STSADM commands get either users or groups for particular site.
STSADM -o enumusers <<url>>
STSADM -o enumgroups <url>
For complete reference, please refer to the following article.
http://blogs.technet.com/b/josebda/archive/2008/03/15/complete-reference-of-all-stsadm-operations-with-parameters-in-moss-2007-sp1.aspx
One such console application available to get the user groups.  Please refer to the below article.
List all SharePoint groups a user belongs to
Please don't forget to mark it as answered, if your problem resolved or helpful.

Similar Messages

  • Automated script for deploying, removing, install again the WSP using stsadm command line

    Hi,
    Am having a requirement in my  staging and  prod  env. to add, install,retract and remove wsp.
    In my dev env i used to perform with  Visual Studio ,so i didnt  face any issues regarding retracting and removing the wsp from solution store.
    But in my staging and prod since i dont hav VS installed, i would like to have a automated script[ NOT in POWERSHELL] using stsadm command line tool which adds the solution from a folder [say D:\DeployWSPs in staging and Prod] to the solution
    store  and installed onto a particular web application [  NOT "All WebApplications"].
    and if  the wsp already exists , i need to retract it & remove from solution store and add it and install again.
    can someone pls help me with the  automated script .also if  the folder contains multiple WSPs how can i doa  for each loop [ iterate through  wach ".wsp"  file and perform install/...task].
    i know stsadm -o adddsolution, deletesolution,m retractsolution etc. But the issue is that customer asked me to do this ina automated fashion.  manually entering all these commands is a  cumbersome activity.
    note: when i used powershell on 2 / 3 occasions, the wsp was retracted successfully,but failed to successfully remove from the
    soln store.
    so i thought i will depend upon on stsadm again like old version of SP since its supported.
    Das

    I would recommend you to use Power Shell so that you can do the automation easily. You can use
    power shell for earlier version of SharePoint as well. 
    Look why removing the solution is getting failed. May be you are trying to remove before the solution is retracted. Wait for retract and remove the solution. Refer to the following post for more information
    http://www.codeproject.com/Articles/570011/PowerShellplus-plusWaitplusforplusRetractplus-fpl
    http://consultingblogs.emc.com/mattlally/archive/2011/03/29/sharepoint-server-2010-multiple-solution-deployment-script.aspx
    Cheers,

  • Fatal Error: Could not find Feature AnalyticsLinks in sharepoint 2010 while migration from 2007 site using stsadm command

    Fatal Error: Could not find Feature AnalyticsLinks in sharepoint 2010 while migration from 2007 site using stsadm command

    Hi ,
    Firstly, I need to verify the followings:
    Whether you created a feature called AnalyticsLinks and activatated it at SharePoint 2007 site.
    Whether you installed the feature at SharePoint 2010 site.
    Please deactivate the feature AnalyticsLinks, then migrate SharePoint 2007 site to SharePoint 2010, compare the result.
    Also , please check whether you have installed the feature AnalyticsLinks at your SharePoint 2010 site. If not, please install and activate it, compare the result.
    Here are some similar posts for you to take a look at:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/17b17bd3-126c-44d4-bd58-38dd613017a0/fatal-error-could-not-find-feature-reviewpublishingspd1055?forum=sharepointadminprevious
    http://mrin17.wordpress.com/2009/09/15/fatalerror-could-not-find-feature-s2siteadmin-while-importing-sites-from-different-server-at-sharepoint/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to move wsp files from sharepoint 2007 to 2010 farm

    Hi experts,
    we  have a share point 2007 farm ,which we are migrating to share point 2010 using database attach upgrade process.i had run pre upgrade checker command and fixed all the issues. now i would like to move the wsp files that are deployed in share point
    2007 farm to share point 2010 farm before i attach the content database. i don't have the code for the wsp files. please provide me with approach to move these custom solutions from 2007 to 2010 farm.
    thanks in advance
    subhash reddy

    Hi,
    you need the source code or the original .wsp files.
    Ther's no easy way of moving the code without the .wsp files.
    Cheers,
    Daniel Bugday
    Microsoft Community Contributor, Member of Microsoft Extended Expert Team, MCT, MCTS/MCPD SharePoint 2007/2010, SQL MCDBA, MCSE
    Blog: SharePoint By Bugday
    Twitter: Follow me on Twitter
    Technet: My Ask The Expert Area On Technet
    Founder of SharePoint Forum

  • How we use merge command in pro*C

    merge command not support the pro*C pl/sql block how we use in pro*C (without creating any pl block on database )

    hello shalab,
    u can use dynamic sql method one.for execution merge query.
    syntax is
    EXEC SQL EXECUTE IMMEDIATE :stmt
    u have to copy your query into one string.
    like this
    strcpy(stmt,"merge into emp_new a ");
    strcat(stmt," using emp b ");
    strcat(stmt,"on ( a.empno = b.empno) ");
    strcat(stmt," when matched then ");
    strcat(stmt," update set sal= sal*10 ");
    strcat(stmt," when not matched then ");
    strcat(stmt," insert (a.empno, a.ename) values ");
    strcat(stmt," (b.empno, b.ename); ");
    then execute like this.
    EXEC SQL EXECUTE IMMEDIATE :stmt

  • How to use host command for creating folders

    i want to create a folder called abc in my C drive using forms 6i.
    how can i do it using Host command?

    Host('MD C:\ABC');Francois

  • How to manage groups centrally in SharePoint 2007 ?

    In SharePoint 2007, do anyone know how to manage the groups centrally across all site collections?
    For eg: If you have the same group name in all site collections, then by adding the user to one group can add him automatically
    to all other groups in all other site collections.
    So do you know about any tool or any plug in ?? 
    Please help
    chirag

    Here's a codeplex project for group syncronization:
    http://spgroupsynch.codeplex.com/
    Mike Smith TechTrainingNotes.blogspot.com
    my SP customization book

  • How to use Filter commands in WAD?

    Hello community,
    I am desperately trying to use the command wizzard in order to set a Filter to a chrarcateristic in an 7.0 web template:
    I have been trying these commands so far but it simply doesnt work:
    SET_SELECTION_STATE_SIMPLE
    SET_SELECTION_STATE
    My problem is: When I select the charcateristic which I want to Filter, I get always the Error message, that the characteristic is not a valied characteristic or structure of the Query. But this is not true, the Characteristic is in the query. I have tried for hours now but no success.
    Thanks for any help or advice.
    Carl

    Hi Carl,
    I had the same situation. All you have to do is to update your support package. After that it will work properly.
    I have - Support Package 7, Revision 571
    Regards
    Erwin
    Edited by: Erwin  Buda on Dec 5, 2008 9:47 PM

  • How to use 'bash' command in java?

    Hi,
    I am using Linux operating system
    when i run the following code, 'test.sh' not started
    ================================================================
    String cmd = "bash \"/home/kulandaivelu/Desktop/works/other's works/test.sh\"";
    Runtime.getRuntime().exec(cmd).waitFor();
    ================================================================
    but it started when i use same command(bash "/home/kulandaivelu/Desktop/works/other's works/test.sh") in terminal
    anyone let me know what mistake i made in the code piece..
    Thanks in Advance
    Kulandaivelu

    Hi,
    thanks a lot..
    I used the following code.. it worked well..
    ===============================================================
    String cmd[] = {"bash","/home/kulandaivelu/Desktop/works other's/test.sh"};
    Runtime.getRuntime().exec(cmd).waitFor();
    ===============================================================
    Thanks a lot again..

  • How to use split command in upload program

    Thanks for all ...for their quick response for my previous query.
    Iam continuing with the same upload program,now i have transfered the data from internal table to application server,now iam trying to upload this to database,while doing this iam using split command for spliting the records,but its not at all spliting,can u give me a solution for this.

    OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      if sy-subrc <> 0.
        PERFORM messaging USING 'E' '001' text-e10 p_file space space.
      else.
        DO.
          READ DATASET P_file INTO WA .
          IF SY-SUBRC <> 0.
            EXIT.
          ENDIF.
          REPLACE ALL OCCURRENCES OF '"' IN WA WITH ''.
          CONDENSE WA NO-GAPS.
          SPLIT WA AT CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB
          INTO wa_infile.
          append wa_infile to it_infile.
          clear wa_infile.
        ENDDO.
      endif.
    try this...
    vijay

  • How to modify default.aspx in sharepoint 2007

    I am new in the SharePoint and I am working in a project has two English and French websites.
    I have a subside in both English and French websites are using a calendar web part.
    But, as the theme used in the English site is different to the French one, the Calendars colors are different.
    I got the default.aspx pages are using different style sheet files in the header so my assumption is that I can change the link of style sheets in the default.aspx French site to be the same as English one and then the calendar's color would be the same too.
    (It should be mentioned I compared both of calendar.css files are the same but core.css files are different)
    However, I don't know how can I get the default.aspx page to edit or which permission do I need to have or SharePoint designer must be installed in my machine or any extensions in the web server?
    Also, I tried to edit the masterpage in the sharepoint designer but it gives me below error:
    This type of page is not served.
    Server Error in '/' Application.  This type of page is not served.    Description: The type of page you have requested is not served because it has been explicitly forbidden.  The extension '.master' may be incorrect.   Please
    review the URL below and make sure that it is spelled correctly.   Requested URL: /_catalogs/masterpage/default.master  Version Information: Microsoft .NET Framework Version:2.0.50727.3649; ASP.NET Version:2.0.50727.3648  
    Please help me to solve my problem.
    Thanks.

    Default.aspx is stored in the "root" of each site.  Can you advise if you want to change the styling and colours or just the content. 
    If it's content you want to change, edit rights and the Site Actions --> Edit Page will be sufficient.  You'll see slightly different things depending on if you're in a publishing site or not but it's easy enough to add copy from here.
    If you want to make changes specifically for one page, you can consider copying the masterpage, giving it a relevant name and then setting that as the master page for the site level (not the site collection level). 
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to use oraxml command-line in LINUX

    Hi:
    I gave the classpath for xmlparserv2.jar and try to excute some of the commands like
    %oraxml -help
    I got oraxml: command not found
    How can I use it?
    Please help
    ALI_02

    You can't.
    They are two totally different operating systems.

  • How to use  modify command?

    i want to modify table t_bseg which is used n BTE interface_00001050
    i want to modify only 1 specific line, how can i modify this line without using index because i get 0 when i use sy-tabix?
    ( i want to modify this line using the table keys ) .
    thanks

    Hi,
    MODIFY TABLE <itab> FROM <wa> [TRANSPORTING <f1> <f 2> ...].
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3ac8358411d1829f0000e829fbfe/content.htm
    Regards
    Adil

  • How to use different domains in SharePoint

    Hi
    i am having a SP 2010 environment with a single domain now i need to add multiple domain to this same environment how is it done
    Alen Austin

    Hi,
    is it possible to add other domain user without creating trust between domain. we can not create trust domain relationship between 2 domain.
    i have some different requirement. i have 2 domain domainA and domainB.  domainA is being used for user authentication, farm join this domain and did all installation and configuration.
    same user id is being created on both domain.
    domainB contain user email address and all user profile hierarchy like manager. department, team and so on.
    pls tell how do i get user profile details from domainB. 
    thanks.
    iffi

  • How to use serveroutput commands in plsql

    Hi,
    I have to create spool file inside my procedure how is it possible to use it? Is there any way.
    Will dynamic statements will work
    E.g CREATE OR REPLACE PROCEDURE SP_PROC1
    AS
    BEGIN
    SET SERVEROUPUT ON;
    SPOOL D:\ABCD.LOG;
    SET SERVEROUTPUT OFF;
    SPOOL OFF;
    END;
    Thanks

    Yes, its possible.
    First open the file for writing:
    Then write to the file.
    (You replace the string used in dbms_output.put_line with utl_file.put_line );
    Finally close the file when finished.
    If on windows , terminate your session (Otherwise you may not be able to see the data in the file).
    Here is some code which I use.
    procedure open_log_file(p_file_out out utl_file.file_type,
                            p_sourcedir in varchar2,
                            p_filename   in varchar2,
                            p_filemode   in varchar2)
    is
    v_filemode varchar2(1) := p_filemode;
    begin
    p_file_out := UTL_FILE.FOPEN( p_SOURCEDIR, p_filename, v_filemode );
    end open_log_file;
    procedure log_to_file(p_file_in in utl_file.file_type,
                          p_text    in varchar2)
    as
    begin
        UTL_FILE.PUT_LINE(  p_file_in,p_text);
    end log_to_file;
    procedure close_log_file(p_file_in in utl_file.file_type)
    is
    v_file utl_file.file_type := p_file_in;
    begin
    if utl_file.is_open(v_file)
    then
        utl_file.fclose(v_file);
    end if;
    end close_log_file;

Maybe you are looking for

  • Detect an open file on a share before the folder is moved

    I'm adding an archive feature to a labview application. It will archive all the files and subdirectories within the directory I point to. My challenge is as follows: The directory is on a network share drive so before the VI moves the directory to th

  • Too many authenticated connections

    I've got a customer with a BT line, sending via mail.btinternet.com.  For the last month or two they've complained that they keep getting asked for their password.  I've checked out the customer's system and I can see that it's not a password problem

  • Sun Cluster with Netapps - iSCSI quorum and network port

    I am proposing Sun cluster with Netapps 3020C. May I know 1) OS is Solaris 9. The SUN OSP says that we need to obtain an iSCSI license from Netapps. Is this the iSCSI initiator software for Solaris 9 to talk to the NAS quorum? Or do I need to purchas

  • Mulitple iphoto library folders

    hi all, please help. i am trying to put all my photos into 1 iphoto folder. the problem im having is that i have about 3 at the moment ( 1 main HD,1 ext HD.1 old laptop) they are all on my main HD now , but i cant tell where they are from looking at

  • How to remove duplicates from PL-SQL table?

    Hi Gurus, I have a PL-SQL table with following structure Authors (SR_NO, Auth_Code, Change_Date, Cost) This tables is being populated using a cursor. But, this table may have some duplicate rows (for Auth_Code column) e.g SR_NO      Auth_Code       C