Access into the Employee Portal as an anonymous user

Sanek
Member Posts: 6
Hi all,
I try to get access into the Employee Portal as an anonymous user. I have made settings in IIS and SharePoint to allow access for anonymous user. SharePoint opens well, but a Web Part for Navision doesn't show any information and indicates the message that "user is not in a group". I have added the user «IUSR_MachineName» into the Employee Portal group, but it doesn’t work still. Do you have any idea how to set up an access into the Employee Portal as an anonymous user?
I try to get access into the Employee Portal as an anonymous user. I have made settings in IIS and SharePoint to allow access for anonymous user. SharePoint opens well, but a Web Part for Navision doesn't show any information and indicates the message that "user is not in a group". I have added the user «IUSR_MachineName» into the Employee Portal group, but it doesn’t work still. Do you have any idea how to set up an access into the Employee Portal as an anonymous user?
0
Comments
-
Hello,
I was messing around with EP and came with an idea that might help you...
There is a function GetUserID in the EP Decode XML codeunit that returns the user that has been login to sharepoint.GetUserID(VAR XMLDocStatic : Automation "{F5078F18-C551-11D3-89B9-0000F81FE221} 3.0:{F6D90F11-9C73-11D3-B32E-00C04F990BB4}:'Microsoft XML, v3.0'.DOMDocument";VAR UserID : Code[50]) Procedure 1000000002 // Get the UserID from static Value Part of the document XMLNode := XMLDocStatic.documentElement; WITH XMLDOMMgt DO BEGIN IF FindNode(XMLNode,'USERID',XMLNodeFound) THEN IF STRLEN(XMLNodeFound.text) > 0 THEN UserID := XMLNodeFound.text; END;
Maybe you could add some code at the end to change the UserID and make it something like UserID := 'DEFAULT'; and then insert that user to the groups and treat him as the anonymous user.
It is just an idea, but it might do the trick...
EDIT:
Since you are working with EP too, can you do me a favor?
I need the name and subtype of the CheckSum automation local variable in the function BuildKeyCheckSum in codeunit 6815 EP Support Functions
Can you design the cu and see in that procedure the local variable and copy paste the subtype of the checksum variable? What I have is:
Name DataType Subtype Length
CheckSum Automation Unknown Automation Server.Unknown Class0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions