473,748 Members | 6,418 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 2732

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

Similar topics

0
6024
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
1912
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
6772
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
3149
by: David Schwartz | last post by:
Are there any issues with running a VB.NET windows forms application in a Citrix environment? Thanks!
2
2712
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
1788
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
1885
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
8987
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
8826
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
9366
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9316
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,...
1
6793
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...
0
6073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4597
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4867
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3303
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

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.