|
Q. Loading up the AuthentiX COM object in .Net A. Here is a sample of loading up the AuthentiX COM object in .Net: Add the following refrence to my asp.net project (vb.net) :
< Reference
Name = "AUTHXOCXLib"
Guid = "{2C3A2917-E7FA-11D0-BC0F-02608CAD9C7D}"
VersionMajor = "1"
VersionMinor = "0"
Lcid = "0"
WrapperTool = "tlbimp"
/>
then use the AUTHXOCXLib.AuthXOCXClass.
I have got the problem solved perfectly on my local server (!!) by following your instructions:
- Adding the AUTHXOCXLib COM object to the project.
Dim auth As New AUTHXOCXLib.AuthXOCXClass()
Label1.Text = auth.CurrentUserName(Request.ServerVariables("LOCAL_ADDR"),
Note, use HTTP_AUTHORIZATION instead of HTTP_AUTHXAUTHORIZATION above, if you are not using the workaround. Here is a complete VB .NET project, which uses the AuthentiX COM component in a "code-behind" page. Protect the directory with AuthentiX. The sample calls CurrentUserName from Page_Load. Download codebehind cb_samp.zip now. How to call classic ASP COM components from a asp.net page
When using the AuthentiX "Impersonate User" functionality:
|
|