Dynamicweb 8 Documentation
Extranet Class
Members  Example 

Represents a logged in user in the frontend of Dynamicweb. Acces through PageView.User.
Syntax
'Declaration
 
Public NotInheritable Class Extranet 
public sealed class Extranet 
Remarks
Do not make instances of this object. Acces through PageView.User.
Example
Access logged in user information
//Check if user is logged in
if(Dynamicweb.Frontend.PageView.Current().User.LoggedIn()){
	return Dynamicweb.Frontend.PageView.Current().User.UserName();
}
Access logged in user information
'Check if user is logged in
If Dynamicweb.Frontend.PageView.Current().User.LoggedIn() Then
	return Dynamicweb.Frontend.PageView.Current().User.UserName()
End If
Inheritance Hierarchy

System.Object
   Dynamicweb.Frontend.Extranet

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Extranet Members
Dynamicweb.Frontend Namespace

Send Feedback