How to get a list of current users and their transactions code?
SM04 and AL08 give the list, but its not comprehensive. in sm04, we have to click the username and select sessions and then a
new popup comes giving all transactions for the user.
I want a list such that each and every transaction corresponding to the user is listed at same time.
Hi,
Use the FM TH_LONG_USR_INFO.
Just give parameter user as * (it means all users, other wise current user)
It will give ALL transactions for ALL users.
Regards,
Amit Mittal.
Edited by: Amit Mittal on Dec 30, 2009 1:00 PM
Edited by: Amit Mittal on Dec 30, 2009 1:03 PM
Similar Messages
-
I will be changing the default quota on mailboxes soon, but there are a number of others who have "customized" quotas and I will need to identify them also.
CharlieThe following powershell command can get you the mailboxes that are using "custum "quota:
Get-Mailbox -Resultsize unlimited | where-object {$_.UseDatabaseQuotaDefaults -eq $false} -
How to get the list of IDM users in a workflow.
Hi,
I wanted to get the list of IDM users in a workflow into a list.Now I tried to use getObjects Method,I do not have the display session here,I passed the workflow context or WF_Context.But it is giving exception like context null .
I used the same method in a form and it worked.How can I get the list of users in a workflow.It is for customizing reports.
Thanks and Regards,
Pandu
Any Idea on how to customize reports including attributes from resources and auditing attributes etc.Any help would be really great.
Thank you.Hi John,
I get this exception WorkItemForm: no id.
This comes when I click on the other column.I generate the data needed in a report and display it as a sorting table when I get the data.
I want to give the user ability to sort data by different columns.But when I click any column I get the exception
WorkItemForm: no id
How can I save a workitem on a manual form before invoking it from a manual action.
Here is the code snippet
<Field name='tblUsers'>
<Display class='SortingTable'>
<Property name='selectEnable' value='false'/>
<Property name='align' value='left'/>
<Property name='linkEnable' value='false'/>
<Property name='sortEnable' value='true'/>
<Property name='width' value='400'/>
<Property name='columns'>
<List>
<String>Account id</String>
<String>First Name</String>
</List>
</Property>
</Display>
<FieldLoop for='row' in='_searchList[*]'>
<Field name='enduserId'>
<Display class='Label'>
<Property name='value'>
<block trace='true'>
<invoke name='getAccountId'>
<ref>row</ref>
</invoke>
</block>
</Property>
</Display>
</Field>
<Field name='lblfirstname'>
<Display class='Label'>
<Property name='value'>
<invoke name='getAttribute'>
<ref>row</ref>
<s>firstname</s>
</invoke>
</Property>
</Display>
</Field>
<FieldLoop> I think I may need to save some workItem,That is why this may be giving the error.How can I correct this.
Thanks,
pandu -
How to get the list of actie users in the moss website !!
Hello Everybody,
I need to get the list of active users with access in the moss websites like following format.
User name User mailid permission
one of the project manager requested to find list of active users with user accesses in the moss website.
he wants to modify the user permissions.
Kindly suggest me how to get the users with permissions.
Thanks.Hi,
I have developed that code to retrieve the users, groups and permissions
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 + ", ";
Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation -
How to get the list of all users
Hi,
Is there a way in Grid Control for getting the list of all users on all target databases? I need to count how many Oracle db users in our company.
Thanks a lot.One way to do it might be...
Assuming you have preferred credentials set up for all of your databases, you could run a 'select username from dba_users or all_users;' against all of your databases through grid control.
Click on Targets tab, click Databases, then the 'Execute SQL' link at the bottom of the page. Click 'Add' and 'Select All'. Then run it. It's just running the same sql across all of your databases and the output will be at the bottom for all of them. -
How to get a list of online users?
hi,
I don't what to do,every user has a session,
so if I can check every session to see if the user is online?Since you cannot access other sessions besides the current one, you will need to store the current users somewhere other than the session. Here is an option.
public class User implements HttpSessionBindingListener
private String userid ;
private MyServlet servlet ;
public User(Stirng userid, MyServlet servlet)
this.userid = userid;
this.servlet = servlet ;
//assume standard accessor methods.
public void valueBound(HttpSessionBindingEvent ev)
getServlet().currentUsers.addElement( getUserID() );
public void valueUnBound(HttpSessionBindingEvent ev)
for(int i = 0; i < getServlet().currentUsers.size(); i++)
if( ((User)getServlet().currentUsers.elementAti)).getUserID().equals( getUserID() ) )
getServlet().currentUsers.remove(i);
break ;
public class MyServlet extends HttpServlet
public Vector currentUsers ;
}Then, you can access the servlets currentUsers vector for a list of current users. Readup on HttpSessions and the HttpSessionBindingListener classes.
You will put the person's information in a Bean and then store it in the session when they logon/return/etc. The Listener handles the rest. -
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. -
How to get the last wbs which is displayed in transaction code cj03?
Dear Experts,
I want to get the last wbs which are displayed in transaction code cj03, i have written below program,but i found it is incorrect. because the sort of wbs in cj03 is not equal to table prps. the last wbs in cj03 is not equal to table prps.
who can tell me how to get last wbs which is displayed in cj03?
SELECT
PRPS~STUFE
PRPS~POSID
PROJ~POST1
INTO CORRESPONDING FIELDS OF TABLE WA_PRPS_TEMP FROM PRPS INNER JOIN PROJ ON PROJPSPNR = PRPSPSPHI
WHERE PROJ~PSPID EQ P_PROJECT.
WA_TLINE = LINES( WA_PRPS_TEMP ).
READ TABLE WA_PRPS_TEMP INDEX WA_TLINE.
IF WA_PRPS_TEMP-POSID = P_lastWBS.
P_LAST = 1
endif.
Best Regards,
MerryHi Merry ,
The WBS elements are stored in the table PRPS , so please try using the conversion exit and use the data in internal format then use it in the IF condition.
Check the FM CONVERSION_EXIT_ABPSN_INPUT and CONVERSION_EXIT_ABPSN_OUTPUT
Regards,
Arun -
How to customize SAPlogon so that the user cannot enter transaction code?
I use PFCG to create a role which limit the choices of menu. I create a user and set the role to the user.
I would like to disable or hide the COmmand Field so that the user cannot enter transaction code directly.
Is it possible to do so?
If yes, would anyone show me how?
Any discussion is welcome.anyway you are going to restrict the user authorization vai role, insted of going throught the whole tree to execute the tcode there is shotcut as command line. here you can save much more time for the user insted going through the tree always. there is no harm for the system if you keep the command line option. What and why you think it should be disabled?
Cheers,
-Sunil -
How to get a list of Local Users who has not logged in for 3 months or around 90 days
hi
i found this thread to pull out a list of local users
Retrieve all local user accounts information on remote computers (PowerShell)
however, i need to filter out users who has not logged in for 3 months or around 90 days, how can i do further filtering?
i understand dsquery has an -inactive <xweeks> , however i am doing it for local accounts$ErrorActionPreference = "silentlycontinue"
$([ADSI]"WinNT://$env:COMPUTERNAME").Children | where {$_.SchemaClassName -eq 'user' -and $_.lastLogin -gt (Get-Date).AddDays(-90)} | ft name,lastlogin
using the sample from the link extendend with the 90 days criteria, the erroraction preference surpresses the errors you get for accounts with no lastlogon value (guest being a typical one) -
Instant Messaging: How to get a list of online users?
Hi,
Is there any way to get presence information of any users? I don't want to subscribe to all users presence. In the documentation I found that presence information is public in default. Using the Shell example client I got null for 'fp uid', it works on users in my contact list.
I tried an other way using com.sun.im.provider.* interfaces but sample programs doesn't works well on server.
Regards,
SzocskekutyaSzocskeKutya wrote:
Is there any way to get presence information of any users? I don't want to subscribe to all users presence.There is no way to get presence information without subscribing.
I've created a new enhancement request to add this functionality in a future release:
RFE#6966768 - "Provide utility to list active user connections and presence information"
If this is essential functionality for your deployment then you need to escalate this RFE with your Sun/Oracle account manager so the feature can be prioritised as appropriate.
Regards,
Shane. -
How to get a list of Topic Titles and coresspoding HTM names in RH 9?
I need to generate a report containing the list of Topic Titles and the coressponding HTM names in a RH9 project. Any pointers on how this can be achieved?
Use the Tools > Reports > Topic Properies menu item. If you use the Options button to deselect all the options you'll end up with exactly what you want. You can even export it to a TXT or RTF file.
-
How to: Get a list of mail users by using the Exchange Management Shell
Hello every one, quick question: When I run this code below for VB, how will I see the results of the program? Is there anyway I can make the results appear in a message box?
Function GetUsersUsingBasicAuth( _
ByVal LiveIDConnectionUri
As String, ByVal ScehmaUri
As String, _
ByVal Credentials
As PSCredential, ByVal
Count As Integer)
As Collection(Of PSObject)
Dim ConnectionInfo
As WSManConnectionInfo = _
New WSManConnectionInfo(New Uri(LiveIDConnectionUri), ScehmaUri, Credentials)
ConnectionInfo.AuthenticationMechanism = AuthenticationMechanism.Basic
Dim RemoteRunspace
As Runspace
RemoteRunspace = RunspaceFactory.CreateRunspace(ConnectionInfo)
Return GetUserInformation(Count, RemoteRunspace)
End Function
Function GetUserInformation(ByVal
Count As
Integer, ByVal RemoteRunspace
As Runspace) As Collection(Of PSObject)
Dim RemotePowerShell
As PowerShell = PowerShell.Create
RemotePowerShell.AddCommand("Get-Users")
RemotePowerShell.AddParameter("ResultSize",
Count)
' Open the remote runspace on the server.
RemoteRunspace.Open()
' Associate the runspace with the Exchange Management Shell.
RemotePowerShell.Runspace = RemoteRunspace
' Invoke the Exchange Management Shell to run the command.
Return RemotePowerShell.Invoke
End FunctionAll you need to do is enumerate through the Collection returned eg
Dim commandResults As Collection(Of PSObject)
commandResults = RemotePowerShell.Invoke()
For Each obj As PSObject In commandResults
MessageBox.Show(obj.Properties("DisplayName").Value.ToString())
Next
Cheers
Glen -
How to get a list of callinf mathoda and classes
I am going to analyse and improve an existing sofware.
Is there a tool to list methods and classes that are called when an activity on this software is begun?
I have source doce but I do not have UML for this project
and rational or other commercial products either.
best regards
MangiA profiler?
-
I am using JSP.
Hey there Mike Novack,
My understanding is that she replaced the Windows Login with a fingerprint swipe correct? I found some instructions surrounding this here
So that we can best direct you through the process what operating system are you using on your T61?
If you are using Windows 7, try going to the control panel, then to the biometric devices, click the option to change your biometric device settings and you should be able to disable it there.
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution".! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Maybe you are looking for
-
Satellite M70-340: I cannot see the DVD schort cut menu after reinstallation
Hi, I just recently bought Toshiba M70-340 2 weeks ago. Now I learn that there is better Toshiba comparing the my one. My question is I cannot see on the screen the DVD schort cut menu. First time when I opened it it was on the rıght handside of scre
-
My iPhone 4 wont 'restore from itunes backup' after updating
I just backed up then updated my iPhone 4. When it was finished it said a problem occurred and I had to restore it. When it finished restoring and I went to sync it and restore from the itunes back up, to get alll my old stuff back, but my phone is s
-
How to display the documents in DMS_DOC_FILES
Hi: In table DMS_DOC_FILES, I see some activities have attached documents. But at SE16, the field with the attached documents does not show because it is a data type RAW. How to show the content of the attached documents? Thanks a lot!
-
How do i get my serial number for lightroom when it was purchased from the app store?
how do i get my serial number for lightroom when it was purchased from the app store now that the app store has discontinued selling the product? Thanks -Ethan
-
Can I write in greek on pages?
Can I write Greek on pages? Many people say to use symbols but I don't know how to.