ProfilePrivateUserRead

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalBoolean ProfilePrivateUserRead ()	

The framework calls the ProfilePrivateUserRead method when a window is being created to allow applications to read application specific profile information.

Returns

 The return value should be true if the profile information is successfully read, false otherwise.

Example

// Virtual wrapper replacement for late-bound (..) calls.
public override SalBoolean vrtProfilePrivateUserRead()
{
	return this.ProfilePrivateUserRead();
}

public new SalBoolean ProfilePrivateUserRead()
{
	#region Local Variables
	SalString sValue = "";
	#endregion
	
	#region Actions
	using (new SalContext(this))
	{
		Ifs.Fnd.ApplicationForms.Var.Profile.ValueStringGet(ProfileSectionGet(),
"LastAddress", "Delivery", ref sValue); if (sValue == "Delivery") { colsDelivery.Text = "TRUE"; } else if (sValue == "Invoice") { colsInvoice.Text = "TRUE"; } } return false; #endregion }