# How to get the system AD Domain user login name in portal?
when a system user use AD Domain method login the system.
and then the user open the portal web application page, but not use AD Domain name login in portal page, that time ,I want to catch the user system login name show in portal page?
I hava try the sereval method with Java or Jsp, or User Cookies ActiveX pulg,I get only the name of the portal hostname.
so Anyone will provider me a well method to get the user login name?
Elobrate more on ur problem
Similar Messages
-
How to get the system info in a network
Hi to all.
can any one tell me how to get the system related,like system name and logged user ,info in a network using java...
thnx in advance,
ashokThere is quite a bit of data that is stored in the System Properties. Run this little test app and it'll display all of the System Properties, what you are looking for may be contained in there:
public class Test {
public static void main(String[] args) {
System.getProperties().list(System.out);
} -
How to get the system time in a Swing application ?
I know how to do it in JavaScript, but not java. Please help me, and also how to get the system time in an Applet. Thanks !!!
Check this link, I hope it helps
http://202.71.136.142:8080/globalleafs/Swing/View.jsp?slno=22&tbl=0 -
When plugging in an iPad in Apple Configurator, it is not being read under USB Connected so I can't update it. The iPhoto window opens up and reads the photos on the iPad, so it is connecting to the computer. Earlier today I wasn't having any problems. I have shut down the iPad and the computer and started over, but that didn't help. Any ideas on how to get the system to read the iPad so I can update the apps on it?
Hi, is the problem just to update your apps on your iPad? Here is what you should check. Is the iTunes on your computer updated to the latest version? Does your iPad needs to be updated? Do you have enough storage on your iPad to do the update? On your device is your iCloud back up checked?
Go to Settings - iCloud - Backup/Storage - see if its checked, and try unchecking it before connecting it to the computer.
Please let me know if you need any further assistance. -
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 homedirectory of nis users while they login
HI,
I am having a solaris nis server and a file server running on solaris (pre installed).I need to add new workstations (linux) to this server, i stopped firewall and selinux on linux pc & configured network.I used authconfig to configure nis client. In the NIS server cd /var/yp/src and edited netgroup & hosts.
and then used make command. Now If i give su <nisusername> it allows authentication but without home directory.
Plz tell me which file i need to edit in NIS inorder to get the homedirectory of logged user.
(might be the hostname of the linux system to be given in any file in NIS server)
Thank you AllI found output diffrence to the same command in preconfigured linux client(Redhat 7.3) working well in NIS and the new linux client (RHEL 4.0)
[user@rhelclient ~]$ ps -ef | grep automount | grep -v grep
root 2820 1 0 Jun28 ? 00:00:00 /usr/sbin/automount --timeout=60 /projects yp auto.projects -rw,hard,nosuid,noquota,grpid,intr
root 2833 1 0 Jun28 ? 00:00:00 /usr/sbin/automount --timeout=60 /users yp auto.users -rw,hard,nosuid,noquota,grpid,intr
root 3038 1 0 Jun28 ? 00:00:00 /usr/sbin/automount --timeout=60 /apps yp auto.apps -rw,hard,nosuid,noquota,grpid,intr
redhat7.3:/users/sree> ps -ef | grep automount | grep -v grep
root 1135 1 0 Jun27 ? 00:00:00 /usr/sbin/automount /projects yp
root 1137 1 0 Jun27 ? 00:00:00 /usr/sbin/automount /users yp au
root 1139 1 0 Jun27 ? 00:00:00 /usr/sbin/automount /homes yp au
root 1152 1 0 Jun27 ? 00:00:00 /usr/sbin/automount /eval yp aut
root 1176 1 0 Jun27 ? 00:00:00 /usr/sbin/automount /apps yp aut
/homes and /eval directories are missing in RHEL4.0 and also it have a timeout=60.
Any clues.
thank you -
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 the system specific hardware key.
Hi all,
I want to get the System specific hardware key(May be Hard disk related key which is unique for every System.) .Now i need to get it using a java program. if possible send me the related links and sample source code. pls help me out to resolve this issue.
Regards,
Kiran.hi,
I can able to get the Mac address of computer using the java program. But when i am running a software called "PCQualifier.exe" i am getting the parameters like "uniqueID" and "unique code". so where and how he is getting those things please help me to get those things using a java programme. Any how i am sending the results that i have got after ruuning PCQualifier.Pls kindly help me out to resolve this issue.
Computer Name JAVADEV0005
Operating System Windows XP 5.1 build 2600 (Service Pack 2)
Ethernet Details Name [00000008] Broadcom NetXtreme Fast Ethernet Adapter Type Ethernet 802.3
MAC Address 00:11:25:F2:98:EF
Hard Disk Capacity Total 39.06GB
Used 84 %
Free 6.16GB
RAM Capacity Total 502 Mbyte
Used 69 %
Free 154 Mbyte
CDROM Status CD-ROM Drive Present
USB Information
Total system supported Ports 0
Total Physical Ports 0
Total Devices Connected 0
Total Free Ports 0
Unique ID 5790315021
Unique Code FNVVEFEFHIKO
Thanks & Regards
Kiran. -
How to get the groups info for user
Hi guys i am new to ALUI..
i am trying to do some enhancement.
i want to know how to get the information of the users group and the group details using the IDK API?
Can sombody share some code?Hello,
You are welcome. Here is one way of get what you want:
1) get all groups id's
IPortletContext - >IRemoteSession -> IUserManager - > getCurrentUserGroups() -> int []
2) get details about group
IRemoteSession.getObjectManager(ObjectClass.UserGroup ) ->
cycle over int []: {
IObjectManager -> querySingleObject(comminity id) -> IObjectQueryRow -> getName()
Because you are going to use PRC and make SOAP calls to portal don't forget setup WS to pass token to portlet (check WS settings)
Edited by Bryazgin at 05/29/2008 7:48 PM -
How to get the system date format string?
Hello, everybody!
I want to create a MaskFormatter with a mask for dates. So, I could suply as the constructor parameter: "##/##/####'. However, what if the year comes first in the current system date format settings, or the month is in the second place or in the first?... So, I can't just suppose that the current locale format for dates is like the one above. So, my question is: is there a way to get the SYSTEM DATE FORMAT STRING in Java? Searching in google I saw that this was already asked in this forum:
http://forum.java.sun.com/thread.jspa?threadID=301034&messageID=1193794
but there was no effective answer. Does someone already know how to get this?
Thank you.
MarcosHi, not sure, but
import java.text.*;
SimpleDateFormat sdf = new SimpleDateFormat();
System.out.println(sdf.toPattern());
will output something like dd/MM/yy HH:mm
hthThank you very much. It worked. -
How to get the system name of the client?
Hi,
I 've followed this Blog:
https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/getting%252blogged%252bin%252bportal%252buser%252bdetails%252bin%252bweb%252bdynpro
getSAPUser() method returns the logged in user name.
Is it possible to get the System name of the client?
Thanks,
RPNHi,
Following Code returns the System id :
String sid = System.getProperty("SAPSYSTEMNAME");
if(sid.equals("J2E")){
//Do something }
Siddharth -
How to get the system date as a session attribute?
Hi all,
How can i get the system time and date to a session?
This is my code:
String startDate=<How will i get (system date) here?>;
session.setAttribute("startDate",startDate);
String startTime=<How will i get (system time + 1hr) here?>;
session.setAttribute("startTime",startTime);
Thanks in advance,
LakshmaThis is one way:
Calendar cal = Calendar.getInstance();
SimpleDateFormat sd1 = new SimpleDateFormat("yyyyMMdd");
System.out.println(sd1.format(cal.getTime()));
SimpleDateFormat sd2 = new SimpleDateFormat("hh:mm:ss");
cal.add(Calendar.HOUR, 1);
System.out.println(sd2.format(cal.getTime())); -
How to get the activity of a user?
Hi Experts,
How can we get the activity of a user i.e. Which transaction a particular user has gone or some activity log on a particular date? Any table, FM or Tcode. I have already checked the STAD and SM20 transactions. Some authorization problem. So anything except these Tcodes would be helpful. Thanks in advance.
Regards,
Prashant.>
santhosh kumar wrote:
> Hi,
>
> I guess if it is not updated or traced under STAD means, i.e. related to authorization failures etc.. kind of stuff will be saved at runtime only in the SAP memory.
>
> As it is stored in the buffer, can not be traced in any of the transaction.
> You should request the user to save and send the screen shot of the SU53 of the user whenever he gets some authorization issue.
>
> Based on that, by looking into the SUIM transaction, it can be known whether he is authorized or not, which roles have been assigned etc.. kind of details.
>
> Regards,
> Santhosh.
Hi Santosh,
Actually I am doing a root cause analysis for which I need to know whether a particular user has used a particular TCode. I guess the STAD will display only the current data, is there a TCode to display historical data related to user accessing a particular data. Note: I don't have basis authorization.
Regards,
Prashant -
How to get the system property - user.name from a client system
Hi All,
I have an application which would enable active users from the domain of the company. I want to get the name of the client from the system. I tried to run it on the local machine from Jdeveloper, it returned me the correct user name. But when the application is deployed on the Oracle Application server, and i hit the URL of the application, it returns the server URL.
I understand that the JSP works on the server side here but help me out to get a solution. I want to read the user name from the client side.
Thanks in advance!
AkhilAkhil,
I hope this will never work. Think about your requirement for a second....
This would mean an application is able to see my user credentials without my knowledge. It's bad enough the know my IP if I'm not using TOR.
To get your requirement to work you have to redefine it a bit. The user have to log in to your application. The application holds the name together with an ID of the session to know the user in further requests.
Thats a basic security theme, described in the dos [Adding Security to a Fusion Web Application|http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/adding_security.htm] .
Timo
Maybe you are looking for
-
Transferring a number to a different account and contract question
Hello, So today I got offered a phone from where I work. I'm in a family plan with 4 phones, i only need one of the lines transferred to my boss's account, but will doing this break the contract that I'm in right now? because I don't want to pay $17
-
How to get indexes of a pattern in MessageFormat
Hi friends, Any urgent help will be much appreciated. I've a pattern like this "INSERT INTO SOME_TABLE values({0}, {1}, {3}, {5}, {7})" before I format this pattern, i want to collect the indexes(0, 1, 3 etc) into a collection from this pattern. Is i
-
We have a cube logical partitioned by sales org. We now would like to add additional sales org's to the list. Is this possible?? Currently with data in the cube it is blocked. Does anyone know steps to re-logical partition a cube?? With/or withou
-
Create multiple messages in adapter module
Hi! I've the problem to solve the following scenario: Mail (1) -> XI -> IDocs (1..n) Since for IDocs message split is not supported and I don't want to use a BPM, is it possible to create different xi-messages in an adapter module which processes the
-
Line numbers in Script Logic editor
Hi everybody, when using the default Script Logic editor in BPC NW I can not see any Line Numbers (or Column Numbers) in the edited script. When an error is detected by the system after validating the script, the error message sometimes refers to a c