persist profile value from PersonalizationInfo object, using naming container and key to organise function will automatically encrypt the value to plaintext

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

Syntax

C#
public static void SetSecureProfile(
	PersonalizationInfo personalization,
	string namingContainer,
	string key,
	Object value
)
Visual Basic
Public Shared Sub SetSecureProfile ( 
	personalization As PersonalizationInfo,
	namingContainer As String,
	key As String,
	value 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
value
Type: System..::..Object
Individual profile value

See Also