CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Problem trying to use CCGetUserID() function

Print topic Send  topic

Author Message
PaulK

Posts: 15
Posted: 12/09/2005, 1:02 PM

--------------------------------------------------------------------------------
Hi, bit new to using codecharge studio with asp, however im trying to use the CCGetUserID function to get the id of the logged in user which will be used in an query and other forms. However when i try to set a variable for example

tempuserid = CCGetUserID();

i get an error when building the project which states the following:

"index.aspx.cs(384,69): error CS0103: The name 'CCGetUserID' does not exist in the class or namespace 'project3.index.indexPage"

Probly a simple solution or im being dumb :)

Any ideas how to solve this?
View profile  Send private message
peterr


Posts: 5971
Posted: 12/10/2005, 11:41 AM

CCGetUserID is an ASP function and doesn't exist in .NET.
I recommend that you search .NET forums for UserID: http://forums.codecharge.com/search.php?s_keyword=useri...m[]=8&s_period=
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Benjamin Krajmalnik
Posted: 12/13/2005, 8:47 AM

Paul,

There is no CCGetUSerID() in the .Net languages.
Instead, there is a function in the DBUtility class for this.

DBUtility.UserID


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.