473,698 Members | 2,632 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Connecting to citrix metaframe

Hi all.

I have an intranet under Win2000 with windows XP clients.

My intranet works with authentication mode="Windows", under a domain,
so active directory manage the accounts.

Now I need to connect to other server that has one citrix metaframe
system, in order to access some aplications with its tecnology.

I have readed some examples of how I can make an aspx page to ask for
user and password, and pass it to the citrix system across the page, in
order to validate in the citrix system.

But I need one step more: I want to automatically pass the windows user
to the citrix system, saving the user to re-validate in the citrix
system.

I know the windows user with HttpContext.Cur rent.User.Ident ity.Name,
but I dont know how I can pass the password, because it is not in the
Identity property.

¿Some one can help me? Thanks. I can put some

Here is the example code for login in citrix, asking user for username,
domain(optional ) and password (there are 3 textboxes):

private void LoginButton_Cli ck(object sender, System.EventArg s e)
{
// Validate the credentials
AccessToken credentials = new UserDomainPassw ordCredentials
(
UsernameTextBox .Text,
DomainTextBox.T ext,
PasswordTextBox .Text
);
WebPN webPN = (WebPN)Applicat ion["WebPN"];
AccessTokenVali dationResult result =
webPN.checkAcce ssToken(credent ials);
if (result.isSucce ss())
{
// Credentials successfully validated

// Save away the token in the session state, and redirect to
application list page
Session["AccessToke n"]=credentials;
Response.Redire ct("applist.asp x");
}
else
{
// Credentials were not valid

// Destroy built-up session state, and redirect to an error page
Session.Abandon ();
StatusLabel.Tex t= "Invalid credentials";
}
}

Manuel Conde

Mar 2 '06 #1
0 2725

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
6021
by: Will Seay | last post by:
At the end of this message I've pasted a script we're trying to modify slightly. I don't believe it is VBscript or javascript but these are the closest groups I could find with my limited programming knowledge. Basically, we are trying to add a few lines to this script that will execute a few shell commands (see comments at the very end of the code). We think this may be ActionScript2 but aren't sure. If you can offer any help, or know...
0
476
by: mcnews | last post by:
has anyone here been successful creating a DSN for MySQL on Citrix Metaframe and Windows 2000? aslo - what MDAC version of MySQL ODBC driver is version 3.51? thanks, mcnews
2
1907
by: CraiginSA | last post by:
Hi Anyone with experience of deploying VB.net business applications in a Citrix Environment. Specifically want to know about arcitecture... Client wants Citrix Thin Client>Citrix Server Farm>IIS Server>ASP Server/.net>SQL 2000 back end. :shock:
7
6770
by: Adam Barnett via AccessMonster.com | last post by:
I have an Access application split into a FE and BE with a workgroup file (.mdw) for authentication. I currently have the FE application setup as a published application for 40 users. We have been experiencing some unusual behavior that was not experienced when the application was run in a client/server environment. What is the proper way to setup an Access application via published applications? I do not want the user to have to get to...
3
3147
by: David Schwartz | last post by:
Are there any issues with running a VB.NET windows forms application in a Citrix environment? Thanks!
2
2708
by: Xaver Hinterhuber | last post by:
Hello, I wanted to use python under Citrix Metaframe. After installation of the ActivePython 2.4.1 msi-File, printing under Citrix Metaframe no longer worked. Do you use python under Citrix Metaframe? What problems did you encounter? Greets
7
5000
by: Paul | last post by:
I have a VB.NET form with a DataGrid. When I toggle to Excel (for example) and then back to my application the repaint of the DataGrid is really slow. You can see the repainting happening. When I toggle back to Excel, it does not do that. The repaint is quick. I'm running this within a Citrix environment. The scrolling of the DataGrid is slow also. Would anyone know how I can fix or even determine what is going on? Thank you!
2
1785
by: neil.albrock | last post by:
Hi there, I hope someone can offer up a suggestion with regards to this problem. I have two user sites, running Citrix (Metaframe 4.0) on Windows Server 2003. Both are experiencing similar problems using an Access application. The app is the typical split type, with a front-end MDE and backend data tables in an MDB. The problem is that once the first user has
0
1879
by: roneon | last post by:
This is the problem that the topic starter posted: "we installed Oracle-Client 8.1.7 on a server with Windows 2000 Terminal-Services and Citrix Metaframe Xp. The Forms-Applications we wrote are on a fileserver.
0
8685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9171
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8880
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7743
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6532
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
3053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2342
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.