Getting list of all assigned numbers to Lync users, hunt groups, etc

We ported a large number of DIDs from 1 carrier to another that we use with Lync.  I'd like to put into an excell spreadsheet all the numbers assigned to any object in Lync and compare it to the master ported number list so I can see what numbers are
available and can be used.
Is there a command to do such a thing?  Thank you.

Hi,
Here is another blog that finds available numbers in Lync deployment.
http://msunified.net/2013/04/23/lync-20102013-script-to-find-available-numbers-in-a-lync-deployment/
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found
there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
Kent Huang
TechNet Community Support

Similar Messages

  • CUA- list of all assigned systems to the user

    Hello,
    The user maintainence is done through CUA in our landscape.
    I have 80 users from a particular region, for whom need to find there access
    in each system/client. Which report or method can help me to find
    a concise report listing every users with its associated access system/client.
    Regrads,
    Madhu

    HI,
    CHeck with this report
    RSUSR_SYSINFO_ZBV
    Thanks,
    Deepthi

  • Is there any FM or BAPI to get list of all sales orders

    Hello all,
            I have the requirement like below.
    Is there any FM if i Pass Drawing document no, type,part,revision level which gives
    the output list as.
    1) all sales orders, where the above drawing document no is attached to the materials
    and these materials are used as one of the lower level components in the Sales order BOM,
    I need to show all those sales orders along with SO number,item,Material,Plant and BOM Item no,
    2)all sales orders, where the above drawing document no is attached to the materials
    and the same material is one of the item in sales order.
    3)all sales orders, where the above drawing document no is used as one of the component in Sales order BOm's
    Addition of 1,2,3 will be the o/p.
    are there any FM or BAPI to get the above list.
    Basically the above report is concatenation of report outputs of t-code CSD5 and CS15.
    Awaiting reply.
    Thanks.

    Hi venkatesh,
       You can use the BAPI
    BAPISDORDER_GETDETAILEDLIST
    to get list of all sales orders.
    Here is a lik which provides you BAPI'S regarding everything.
    [http://www.saptechies.com/sap-bapi-list/]
    Hope this will help you.
    Regards,
    Pavan.

  • Getting list of all users present in SIM

    Hi,
    I would like to update all the users (attributes of users) in SIM .
    Right now I am thinking to get list of all users present in SIM and get the view of each user and then update the particular attribute and chekin the view. and imp point to note here is I am having around 100,000 users present in SIM.
    I am thinking there could be a better solution than this...
    But I do not know which way can be used to accomplish the task.
    Can any one reply immediately with any thought on this.
    Thanks in advance.

    Run a bulk update actions you can easily get a list of all accountids by running select name from userobj;
    and in your field or in your input area specify the values u wanna update

  • I want to get List of all active sessions in current system

    Hi experts
    How to get list of all active sessions in current system in any internal table along with details.
    A sample code wud be helpful
    Thanks in advance.

    try this code it might help u.
    Below report execution gets the active Session list to ABAP memory
    submit rsm04000_alv and return exporting list to memory.
    refresh: gt_listobj.
    Below FM get the List output from ABAP memory to gt_listobj in HEX
    call function 'LIST_FROM_MEMORY'
      tables
        listobject = gt_listobj
      exceptions
        not_found  = 1
        others     = 2.
    if sy-subrc <> 0. " Executed successfully ?
      message id sy-msgid type sy-msgty number sy-msgno
      with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    This FM converts ITAB gt_listobj from HEX to ASCII
    call function 'LIST_TO_ASCI'
      tables
        listasci           = it_list
        listobject         = gt_listobj
      exceptions
        empty_list         = 1
        list_index_invalid = 2
        others             = 3.
    if sy-subrc <> 0. " Executed successfully ?
      message id sy-msgid type sy-msgty number sy-msgno
      with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    This Shows the output in List format on screen
    call function 'REUSE_ALV_LIST_DISPLAY'
    exporting
       i_structure_name                  = 'line'
      tables
        t_outtab                          = it_list
    exceptions
       program_error                     = 1
       others                            = 2.
    if sy-subrc <> 0. " Executed successfully ?
    message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.

  • FM to get list of all directories and files on application server..

    Hi All,
    Can anyone tel me FM to get list of all directories and files on application server..i know 'F4_DXFILENAME_TOPRECURSION'
    and '/SAPDMC/LSM_F4_SERVER_FILE' these are working too...but my requirement is when i click F4 i should get list of directories and whn i select one of these the only directory name should display.....and whn click again for 2nd text box field i want file name ...means directory name in one text box field and file name in another....plz help me out..
    helpful answers wil b awarded.
    Thanks,
    Jayshree

    Hi Jayashree
    Please check this FM, SUBST_GET_FILE_LIST. Pass the file path and file name, if it returns an entry in table FILE_LIST, then the filename and path are valid.
    Hope this helps !
    ~ Ranganath

  • Better way how to get list of all classpath URLs in runtime

    Hello everyone,
    How to get list of all classpath items (URLs) in runtime from Java code?
    I am aware of solution based on System.getProperty("java.class.path"). Is there any alternative?
    This solution has several drawbacks. You have to parse String output. And I not sure if it contains ALL resources (JARs, class directories) loaded by ClassLoader or just reflects -cp arguments.
    Does system property "java.class.path" contain ALL loaded JARs?
    Does it contain items (JARs, class directories) loaded by bootstrap classpath?
    What about JARs loaded in runtime?
    Is the separator ":" always same on all operation systems?
    I was looking for some Java API based solution, method like List<URL> getAllClasspathItems()
    But there is nothing like this in ClassLoader, Class, Runtime or System classes.
    For curious, here is code I use.
    String classpath = System.getProperty("java.class.path");
    StringTokenizer st = new StringTokenizer(classpath, ":");
    while (st.hasMoreElements()) {
         System.out.println(st.nextElement());
    }

    For curious, here are output prints for all 3 methods:
    1) parsing system property
    2) tschodt
    3) overcast SystemClassLoader to URLClassLoader
    /home/espinosa/workspace/jboss_embedded_test1/target/test-classes
    /home/espinosa/workspace/jboss_embedded_test1/target/classes
    /opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
    /opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
    /opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
    package com.sun.org.apache.xerces.internal.impl.validation, Java Platform API Specification, version 1.6
    package com.thoughtworks.qdox.directorywalker
    package com.sun.org.apache.xerces.internal.parsers, Java Platform API Specification, version 1.6
    package java.util.jar, Java Platform API Specification, version 1.6
    package org.testng.internal.thread
    package com.sun.org.apache.xerces.internal.util, Java Platform API Specification, version 1.6
    package java.net, Java Platform API Specification, version 1.6
    package sun.reflect.misc, Java Platform API Specification, version 1.6
    package esp.ejb.samples1.test
    package sun.security.provider, Java Platform API Specification, version 1.
    file:/home/espinosa/workspace/jboss_embedded_test1/target/test-classes/
    file:/home/espinosa/workspace/jboss_embedded_test1/target/classes/
    file:/opt/javalibs/javax/ejb/ejb-api/3.0/ejb-api-3.0.jar
    file:/opt/javalibs/javax/jms/jms/1.1/jms-1.1.jar
    file:/opt/javalibs/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
    ...Interestingly, method 1 and 3 gives the same list, same order, same count, just format of item is a little bit different. The order is same as in Eclipse .classpath file.
    Method 2 (tschodt) give significantly more items! rougly 3x! Different order (somewhat random it seems to me). Some items contain extra information, like version and string "Java Platform API Specification".
    It prints not absolute paths but logical Java names.

  • To get list of all the running applications

    Hi all,
    Hey can anyone tell me how i wil get list of all the running applications on windows using java?

    Cant it be done even using Runtime.exec()?Well, sure. Assuming there is a command-line program
    that does what you want. But then your question is
    "What can I run at the Windows command line to get a
    list of all the running applications?" and (I am sure
    you will agree) this is nothing at all to do with
    Java programming.
    I completely agree... I just find it amazing that this guy knows exactly what he wants to do but is unable to point a web browser to a search engine, type in what he wants to do the read the resulting pages.

  • How to Disply the List of Roles assigned to a  selected user ?

    Hi all,
    I have a specific requirement to develope using Webdynpro. I want to programically display the list of roles assigned to a selected user. Could some one help me . I promise to award points for the solution.
    Thank you in advance
    Regards
    Maruti

    Hi Maruti,
       Iterator rit = null;
    try
    IWDClientUser clientUser = WDClientUser.getCurrentUser();
    IUser user = clientUser.getSAPUser();
    rit = user.getRoles(true);
    IRoleFactory rfact = UMFactory.getRoleFactory();
    while (rit.hasNext()) {
    String roleName = (String) rit.next();
    IRole role = rfact.getRole(roleName);
    }catch(Exception e)
    e.getLocalizedMessage();
    check this thread too
    /message/1565111#1565111 [original link is broken]
    Regards, Suresh KB

  • How can i get list of all monitors and rules that assigned to a node ?

    Hello,
    We r using the scom 2012 sp1
    i need to get list of monitors and rules that have assigned to nodes.
    for example :
    nodename - type - name
    node1 - monitor - montiorname1
    node1 - monitor - monitorname2
    node1 - rule - rule1
    node1 - rule - rule2
    can i get this list by using sql or powershell script ?
    thanks

    Hi,
    Please refer to the link below:
    How to View All Rules and Monitors Running on an Agent-Managed Computer
    https://technet.microsoft.com/en-us/library/hh212748.aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • How to get list of reports assigned to User or UserGroup?

    Hi All,
    I want the list of reports which is assigned to User or UserGroup.
    For Ex:
    User Name         :  Sam
    UserGroup Name : ReportingGroup
    I want the list of report assigned to sam or ReportingGroup?
    How can i get it?
    Please help.
    Thanks in advance
    Amol Mali

    Hi Teda,
    Thanks for the reply.
    I mean to say that if you added a user or usergroup to report.
    Then i want the that report information for the user/usergroup.
    suppose a user is added to 10 different reports then i want the list of this report for this user.
    I hope u now understand.
    Please reply
    Thanks in advance
    Amol Mali

  • How to get list of all JSF beans

    How can one get a list of all JSF beans?
    To get a particular JSF bean one does
       static public Object findJSFBean(String beanName)
          FacesContext fc = FacesContext.getCurrentInstance();
          if (fc== null) return null;
          ELContext elContext = fc.getELContext();
          Application app = fc.getApplication();
          ELResolver elResolver = app.getELResolver();
          Object result = elResolver.getValue(elContext, null, beanName);
          return result;
       }Edited by: sn72 on Sep 2, 2008 5:49 PM

    sn72 wrote:
    Several ways:
    1) Store some key in the request scope indicating the "id" of the wizard.
    2) Use a single session scoped bean which references all related session scoped beans so that you have a single main point of reference.
    3) Consider conversation scope. Apache Orchestra and JBoss Seam have their solutions.1. Can you elaborate on this?On start of the wizard generate/assign some unique identifier which you pass to the next request everytime as a hidden parameter. Use this identifier to identify a separate 'wizard conversation scope'.
    2. Yeah, this might work. But I'd need to have a common entry point (such as overriding doPost of the default faces servlet) to destroy the wizard bean whose pages have ended, which means hardcoding page names in my java code. Also, my wizard would have to register itself in this map. That's why this solution seems very much like what I was asking for originally -- that is, the session bean has a list of all wizard beans in it.Just destroying the session bean at its own ought to be sufficient. E.g. externalContext.getSessionMap().put("managedBeanName", null); destroys the session scoped bean associated with the specified managed bean name.
    3. This is the ideal solution. Unfortunately, the documentation is not very good, and I could not find examples. Hopefully this will make its way into JSF 3.0.Can't help any much with this further.

  • How do I get list of 'ALL' Missing files?

    How do I get a list of all missing files?  I occasionally get a message that a certain file can't be found.  I know where they all are - on another drive.
    I don't want to just try to add all of the files onto the prime loactaion because It's likely that I will get a huge file of duplicate.  From past experience the duplicate feature in this programs is very poor.  I should mention that all files are from on own CD's & are without DRM.
    If I get the complete list  I can easily just copy missing files to main drive.
    Thanks in advance

    You can right click a folder and choose Synchronise - it has a Show Missing Files buttom.
    John

  • Getting List of all deployed applications thru WebService..

    Hello All,
    I want to get the list of all deployed applications and components thru webservice..
    How can I achieve the above requirement... any suggestions??
    Thanks & regards,
    Amol.

    Hi Anil,
    Thanks for the links..
    But I have already tried this.Will tell u what I have done..
    1)Created DC of type EJB. Added "com.sap.exception" and "tc/wd/webdynpro" as Used DC. So at the design time I am able to get the IWDDeployableObject APIs.
    2)Created DC for EAR. Added above EJB module and in the reference both the reference targets are mentioned. Out of which "com.sap.exception" is library reference while "tc/wd/webdynpro" is service reference..
    Now when I build the projects, both are built. But at the time of deploymeny it throws an error :
    java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/services/sal/deployment/api/IWDDeployableObject
    So I think I should create another DC of type external libray add those required JAR filed... as EJB container might not able to understand webdynpro service references..
    Is my understanding correct?
    Thanks,
    Amol

  • Getting list of all users and their group memberships from Active Directory

    Hi,
    I want to retrieve a list of all the users and their group memberships through JNDI from Active Directory. I am using the following code to achieve this:
    ==================
    import javax.naming.*;
    import java.util.Hashtable;
    import javax.naming.directory.*;
    public class GetUsersGroups{
         public static void main(String[] args){
              String[] attributeNames = {"memberOf"};
              //create an initial directory context
              Hashtable env = new Hashtable();
              env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
              env.put(Context.PROVIDER_URL, "ldap://172.19.1.32:389/");
              env.put(Context.SECURITY_AUTHENTICATION, "simple");
              env.put(Context.SECURITY_PRINCIPAL, "[email protected]");
              env.put(Context.SECURITY_CREDENTIALS, "p8admin");
              try {
                   // Create the initial directory context
                   DirContext ctx = new InitialDirContext(env);     
                   //get all the users list and their group memberships
                   NamingEnumeration contentsEnum = ctx.list("CN=Users,DC=filenetp8,DC=com");
                   while (contentsEnum.hasMore()){
                        NameClassPair ncp = (NameClassPair) contentsEnum.next();
                        String userName = ncp.getName();
                        System.out.println("User: "+userName);
                        try{
                             System.out.println("am here....1");
                             Attributes attrs = ctx.getAttributes(userName, attributeNames); // only asked for one attribute so only one should be returned
                             System.out.println("am here....2");
                             Attribute groupsAttribute = attrs.get(attributeNames[0]); // memberOf
                             System.out.println("-----"+groupsAttribute.size());
                             if (groupsAttribute != null){
                                  // memberOf is a multi valued attribute
                                  for (int i=0; i<groupsAttribute.size(); i++){
                                  // print out each group that user belongs to
                                  System.out.println("MemberOf: "+groupsAttribute.get(i));
                        }catch(NamingException ne){
                        // ignore for now
                   System.err.println("Problem encountered....0000:" + ne);
                   //get all the groups list
              } catch (NamingException e) {
              System.err.println("Problem encountered 1111:" + e);
    =================
    The following exception gets thrown at every user entry:
    User: CN=Administrator
    am here....1
    Problem encountered....0000:javax.naming.NamingException: [LDAP: error code 1 -
    000020D6: SvcErr: DSID-03100690, problem 5012 (DIR_ERROR), data 0
    ]; remaining name 'CN=Administrator'
    I think it gets thrown at this line in the code:
    Attributes attrs = ctx.getAttributes(userName, attributeNames);
    Any idea how to overcome this and where am I wrong?
    Thanks in advance,
    Regards.

    In this sentence:
    Attributes attrs = ctx.getAttributes(userName, attributeNames); // only asked for one attribute so only one should
    It seems Ok when I add "CN=Users,DC=filenetp8,DC=com" after userName, just as
    userName + ",CN=Users,DC=filenetp8,DC=com"
    But I still have some problem with it.
    Hope it will be useful for you.

Maybe you are looking for

  • Permanent pop up, can't do anything in Safari

    Hey guys, I've had a quick look over the board to see if I could find an answer, but had no luck. Here's my problem. I was using Safari this morning and every so often I get a pop up, but it's no big deal. Though after a while, a window popped up wit

  • Using FTP via PL/SQL

    Hi all, i have the need to implement an FTP procedure and accordingly to what i found here : http://www.oracle-base.com/articles/misc/ftp-from-plsql.php i try this code: DECLARE      l_conn  UTL_TCP.connection;      l_result  PLS_INTEGER; BEGIN      

  • Hierarchical structure message mapping in PI

    Hello All, I have a source and target structure in graphical message mapping <?xml version="1.0" encoding="UTF-8"?> <Material_MT>    <row>    0..unbounded       <MATERIAL_ID>1234</MATERIAL_ID>       <DEL_FLAG>      </row>   <row>    0..unbounded     

  • O2cb_ctl: Internal logic failure failed to add mode

    I am getting following error message when I try to start or enable o2cb on 2 node RAC. the OS is oracle enterprise linux 4.5. cluster.conf file us updated manually and ocfs2console is alos showing the details of hosts. changes have been propogated as

  • How do I create mbox copy in Mail 2.1.3

    Can anyone tell me how to create an mbox copy in Mail 2.1.3? I have tried following the advice in Mail Help: "To create an mbox copy of a mailbox, drag the mailbox from the mailbox list to your desktop.", but no copy is made on the desktop. Cheers Se