Error getting list of users
Hi All,
I have a transaction for getting the list of users and sending mail to them. I have used XML query to get the list of users using the following URL:
"http://<server:port>/XMII/Illuminator?Service=Admin&Mode=UserList&Group=XMII Administrators&Content-Type=text/xml".
When I am executing the transaction from Workbench, I am getting the list of users but if I run the transaction using a scheduler, I am getting the following as output of XML query.
<?xml version="1.0" encoding="UTF-8"?>
<Rowsets DateCreated="2009-07-14T06:17:51" EndDate="2009-07-14T06:17:51" StartDate="2009-07-14T06:17:51" Version="12.0.4 Build(120)"><FatalError>Premature end of file.</FatalError></Rowsets>
I have added the the necessary roles to Admin service(System Security).
What could be the reason for this??
Thanks,
Sophila
Sophila - from the WB you are already logged in so the URL works, but from the scheduler there is no user account to permit this fully qualified http request, so the premature end of file error is because the XMLQuery is expecting Rowsets/Rowset/Row xml back but gets the NW login page instead.
Either pass the necessary credentials into the TRX through the scheduler parameters and append them into the URL in your XMLQuery dynamically or just add them as static: &IllumLoginName=XXX&IllumLoginPassword=XXX (this will need to be a user with permission to the Admin service).
Similar Messages
-
Flash builder ,Toggle break point ,get error:Error getting list of source files
In Flash builder ,debug a Web Application, when try to toggle a break point , flash builder prompts:
Error getting list of source files
flash.tools.debugger.InProgressException
at flash.tools.debugger.concrete.DSwfInfo.swdLoaded(DSwfInfo.java:156)
at flash.tools.debugger.concrete.DSwfInfo.getSourceList(DSwfInfo.java:131)
at flash.tools.debugger.threadsafe.ThreadSafeSwfInfo.getSourceList(ThreadSafeSwfInfo.java:78 )
at com.adobe.flexbuilder.debug.breakpoints.FlexLineBreakpoint.findSourceFiles(FlexLineBreakp oint.java:512)
at com.adobe.flexbuilder.debug.breakpoints.FlexLineBreakpoint.instantiate(FlexLineBreakpoint .java:577)
at com.adobe.flexbuilder.debug.model.FlexDebugTarget.instantiateBreakpoint(FlexDebugTarget.j ava:525)
at com.adobe.flexbuilder.debug.model.FlexDebugTarget$1.run(FlexDebugTarget.java:568)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)who can answer this?
-
when downloading itune update on my PC (vistia)it says, error getting security: C:\Users\shawn\AppData\roaming\Microsoft\InrternetExplorer\Quick Launch\GetLastError:87, how do i fix this
As you can see below, when I right click, I have no such option. In the User Account Settings, I'm operating as the "System Administrator".
Any other suggestions? -
How to get list of users who reset password using FIM portal
How to get list of users who reset password using FIM portal
-Thanks Rakesh SawantHi Rakesh,
I think you are looking for something like this:
Using Powershell to list all users that had completed
a password reset within the last 30 days
If you found my post helpful, please give it a Helpful vote. If it answered your question, remember to mark it as an Answer. -
Get list of User Mailboxes in Exchange server 2013 by using EWS managed API
Hi all,
I need list of Users exists in my Exchange server 2013 , i.e Mail Box Users log in name.
i know the command in Powershell to get list, but i need this using code[ ews managed API].
How can i achieve this ?
Please share your ideasHi Glen,
i follow your suggested links i wrote below code ,
here i am getting error
The term 'Get-Users' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
SecureString password = new SecureString();
string str_password = "EIS2014!@#";
string username = "[email protected]";
foreach (char x in str_password) { password.AppendChar(x); }
PSCredential credential = new PSCredential(username, password);
WSManConnectionInfo connectionInfo = new WSManConnectionInfo(new Uri("http://ExchangeServer.admin.com/powershell"), "http://schemas.microsoft.com/powershell/Microsoft.Exchange", credential);
//connectionInfo.AuthenticationMechanism = AuthenticationMechanism.Basic;
Runspace runspace = RunspaceFactory.CreateRunspace(connectionInfo);
PowerShell powershell = PowerShell.Create();
PSCommand command = new PSCommand();
command.AddCommand("Get-Users");
command.AddParameter("ResultSize", 50);
powershell.Commands = command;
runspace.Open();
powershell.Runspace = runspace;
var aa = powershell.Invoke();
Please help me. -
Hi,
I want to fetch the list of users who all are having full access to the sharepoint list using client object model with .Net
Please let me know if any property for the user object or any other way to get it.
Thanks in advance.Here you are complete code i created from some years it lists all groups and users, you can just add a check in the permissions loop to see if it is equal to Full Control.
Private void GetData(object obj)
MyArgs args = obj as MyArgs;
try
if (args == null)
return; // called without parameters or invalid type
using (ClientContext clientContext = new ClientContext(args.URL))
// clientContext.AuthenticationMode = ClientAuthenticationMode.;
NetworkCredential credentials = new NetworkCredential(args.UserName, args.Password, args.Domain);
clientContext.Credentials = credentials;
RoleAssignmentCollection roles = clientContext.Web.RoleAssignments;
ListViewItem lvi;
ListViewItem.ListViewSubItem lvsi;
ListViewItem lvigroup;
ListViewItem.ListViewSubItem lvsigroup;
clientContext.Load(roles);
clientContext.ExecuteQuery();
foreach (RoleAssignment orole in roles)
clientContext.Load(orole.Member);
clientContext.ExecuteQuery();
//name
//MessageBox.Show(orole.Member.LoginName);
lvi = new ListViewItem();
lvi.Text = orole.Member.LoginName;
lvsi = new ListViewItem.ListViewSubItem();
lvsi.Text = orole.Member.PrincipalType.ToString();
lvi.SubItems.Add(lvsi);
//get the type group or user
// MessageBox.Show(orole.Member.PrincipalType.ToString());
if (orole.Member.PrincipalType.ToString() == "SharePointGroup")
lvigroup = new ListViewItem();
lvigroup.Text = orole.Member.LoginName;
// args.GroupsList.Items.Add(lvigroup);
DoUpdate1(lvigroup);
Group group = clientContext.Web.SiteGroups.GetById(orole.Member.Id);
UserCollection collUser = group.Users;
clientContext.Load(collUser);
clientContext.ExecuteQuery();
foreach (User oUser in collUser)
lvigroup = new ListViewItem();
lvigroup.Text = "";
lvsigroup = new ListViewItem.ListViewSubItem();
lvsigroup.Text = oUser.LoginName;
lvigroup.SubItems.Add(lvsigroup);
//args.GroupsList.Items.Add(lvigroup);
DoUpdate1(lvigroup);
// MessageBox.Show(oUser.LoginName);
RoleDefinitionBindingCollection roleDefsbindings = null;
roleDefsbindings = orole.RoleDefinitionBindings;
clientContext.Load(roleDefsbindings);
clientContext.ExecuteQuery();
//permission level
lvsi = new ListViewItem.ListViewSubItem();
string permissionsstr = string.Empty;
for (int i = 0; i < roleDefsbindings.Count; i++)
if (i == roleDefsbindings.Count - 1)
permissionsstr = permissionsstr += roleDefsbindings[i].Name;
else
permissionsstr = permissionsstr += roleDefsbindings[i].Name + ", ";
lvsi.Text = permissionsstr;
lvi.SubItems.Add(lvsi);
// args.PermissionsList.Items.Add(lvi);
DoUpdate2(lvi);
catch (Exception ex)
MessageBox.Show(ex.Message);
finally
DoUpdate3();
Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation -
How to get list of users who have access to a SAP module
Hi,
We are developing a tool in Java where we will pull the data from various modules in SAP (like Purchase order, Invoice etc). Lets take Purchase Order Module as example. I can get the data using BAPIs (like BAPI_PO_GETDETAIL).
However to implement Authorization, I also want the list of users/groups that have access to Purchase order module. Is this possible? Or can we get the ACL information from the tables in database like EKKO for Purchase order?
I have tried searching for solution but couldn't find any. Please suggest if there is some standard way by which we can pull the ACL information via Java, or if this can be achieved by some custom RFCs.
Thanks,
AnuragAnurag,
The best way is to wirte a RFC Function Module (It will fetch the roles of the user from agr_users table) which will take user id as import paramter and will give you assigned roles.
Please let me know if you still need any further information.
Thanks,
Hamendra -
I should make an application, where user (User1) fill some form. User1 should select, from list of users, another user (User2). After submit, User2 receive email.
How can I get the list of user?
Regards, Kostya!For Apex users:
select user_name from wwv_flow_users
for database users:
select username from all_users -
How to get list of Users[MailBoxes] in Exchange Server 2013 by using EWS Managed API
Hi all,
I need list of Users exists in my Exchange server 2013 , i.e Mail Box Users login name.
I was created Full Access permissions of all users to Admin user account, to access each user Mailbox programatically
i need the list of Mailboxes in exchange server .
MailBox mailbox = new MailBox("user");
Please share your ideasHi,
We can run the following command in Exchange Management Shell to get all user mailboxes name and export it to a .csv file:
Get-Mailbox -ResultSize Unlimited | Select Name,Alias,RecipientTypeDetails | Export-Csv c:\Users.csv
If you want to retrieve the list of users by using EWS Managed API, I suggest you can ask a question in Exchange Development forum for more suggestion:
http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads
Regards,
Winnie Liang
TechNet Community Support -
How to get list of Users under an Auth Group (for executable Programs)?
Hi experts. I have a requirement to get a list of all users under a particular Auth Group for Program Objects.
Goal of this requirement is to identify the users allowed to use/access a program - we're doing some sort of Program Inventory and we'd like to identify the users per program, via the Auth Group.
So question is: Which tables hold data about Program <-> Auth Group <-> Users, and how are they linked?
I know this is Basis/Security stuff, but I was thinking of developing a report program to output the information needed.
Thanks in advance.
Edited by: George Esquerra on Nov 17, 2011 10:24 AMThis is available in the standard via tx SUIM - user - users by complex selection criteria - by authorization values.
If you enter auth object = S_PROGRAM and value = auth group, you will get the list of users.
You can analyse how this program finds the information and incorporate it into your own logic.
Thomas -
How to get list of users with access of MM01 (create & change)
Hi all,
i have to take out list of user having access for MM01 (create material), when i use SUIM to get the list it shows all the list of users including the users with DISPLAY & CHANGE, but i want only those users who had the access of CREATE & CHANGE.
please help out me, its very urgent.
Thanks & Regards
Syed..Hi Syed,
You can try to get it from S_BCE_68001398. Key in the required transaction code.
Thanks and Regards
Points reward is much appreciated -
How to get list of users assinged the same product catagory
Hi All ,
we have a requirement in which we need to get the list of users who are assigned the same product category.
ie if we give the prod category 14000000 then we need the list of users assigned the 14000000 prod category.
is any FM available.
please help.
Regards
Channappa SajjanarHi Chinnappa,
1) You can create a table query for tables HRT1222 and HRP1222 to get the org Id or Position Id assigned for the product category.
Then use FM BBP_OM_STRUC_GET_USER_FROM_POS to get the list of users for that org ID.
2) or if you want to check list of prod categories linked to user ID, then use FM BBP_READ_ATTRIBUTES
rgds,
Ravi -
How to get list of users using IN OIM
Experts,
Is it possible to get the list of users who have logged into OIM in past (for example last six months)? as not all people in my organization uses OIM.
Please suggest if OIM(version 9.1.02) has any such functionality or if it is possible to get it from OIM database.
Thanks,
S MOIM will not store last logon date & time. So this is not possible. If you have access manager integrated environment, then OID will have last logon date & time. in such environment, from OID, you can get these details.
-
To get list of users using universe designer client tools
Hi Experts,
Is there any way we can get the list of users using universe designer client tool.
Thanks,
Shiva GunturuHi Shiva,
Refer to chapter 12 section "User events enabled for clients"
http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_bip_admin_en.pdf
In XI 3.1 client auditing is a bit limited, you may need to do some testing to determine if it is possible to audit what you are looking for.
Hope it helps
Thanks
Toby
http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_bip_admin_en.pdf -
How to I get list of Users from LDAP in a Task?
Hi,
Can any one tell me that how can I communicate with a LDAP Resource and get all the users from the LDAP as a list in an activity in the task?
Can anyone tell me how can I do this?The "Stick Slidelet" option has been unchecked all the time, but the "X" button stayed.
Meanwhile, on saving Captivate asked me for the umpteenth time if I wanted to convert my project from Captivate 7 to 8. It seems like I originally had a version 7 trial installed, but my licensed copy clearly states that it is version 8 now, and I have answered this dialog with "please convert" in this project every time before.
Anyway. Now my original slidelets still have the unwanted "X" button. But when I create a new slidelet from scratch, it does not have the button anymore.
Maybe you are looking for
-
Can't update hp slate 21 to latest android. Please help me with the steps
-
Problem with importing a clip from another iMovie project
Hello I want to import a clip from one iMovie project to another iMovie project. Both projects are in 16:9, but when I import a clip it's no longer in 16:9. The clip is croped and I have a black bar on the right and left side. How can I solve this ?
-
View Multi Photos In Another Tab
I was wondering if anyone has any idea how to view multi photo/pics in a different tab or window? In IE you use to have IE Image and in Firefox you have the option to view photos/files on a page in another tab or window. Does Safari have a program/pl
-
Early 2008 Mac Pro - worth bothering with?
Hi, Someone in my building threw out an early 2008 Mac Pro with no hard drives. I put in a spare that I have lying around and it seems ok -- but a bit slow. I'm now in the process of installing Mavericks on it. I'm curious if this computer is worth b
-
How to insert multiple column in JExcel
Hello, I'm having a problem with JXL, when I want to insert multiple columns by the below loop, but it doesn't work. It just insert two columns instead of 7 columns. while (date.before(toDate)) { sheet.insertColumn(1); Label l = new Label(1