extract value base on naming container and key from PersonalizationInfo object function will automatically decrypt value to plaintext

Namespace: DotNetNuke.Services.Personalization
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static Object GetSecureProfile(
	PersonalizationInfo personalization,
	string namingContainer,
	string key
)
Visual Basic
Public Shared Function GetSecureProfile ( 
	personalization As PersonalizationInfo,
	namingContainer As String,
	key As String
) As Object

Parameters

personalization
Type: DotNetNuke.Services.Personalization..::..PersonalizationInfo
Object containing user personalization info
namingContainer
Type: System..::..String
Container for related set of values
key
Type: System..::..String
Individual profile key

Return Value

returnsM:DotNetNuke.Services.Personalization.Personalization.GetSecureProfile(DotNetNuke.Services.Personalization.PersonalizationInfo,System.String,System.String)

See Also