This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Gets the guest user id.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(Name = "Security.User.GuestUserId")]
public static int GetGuestUserId(
	 context
)
Visual Basic (Declaration)Copy imageCopy Code
<(Name := "Security.User.GuestUserId")> _
Public Shared Function GetGuestUserId ( _
	context As  _
) As Integer

Parameters

context
ICmsContext
The context.

Return Value

See Also

Advanced