Namespace: Novalys.VisualGuard.Security.Membership
Assembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2016.0.105.16 (2016.0.105.16)

Syntax

C#
public VGProfileAttribute CreateProfileAttribute(
	string propertyName,
	VGProfileDataType dataType,
	string displayName,
	string description,
	int maxLength,
	string defaultValue,
	bool isVisible,
	bool isReadOnly,
	bool isRequired,
	bool allowSearch,
	int viewOrder,
	string groupName,
	string validationExpression,
	VGAttribute_InformationType attributeInformationType
)
Visual Basic
Public Function CreateProfileAttribute ( 
	propertyName As String,
	dataType As VGProfileDataType,
	displayName As String,
	description As String,
	maxLength As Integer,
	defaultValue As String,
	isVisible As Boolean,
	isReadOnly As Boolean,
	isRequired As Boolean,
	allowSearch As Boolean,
	viewOrder As Integer,
	groupName As String,
	validationExpression As String,
	attributeInformationType As VGAttribute_InformationType
) As VGProfileAttribute

Parameters

propertyName
Type: System..::..String
dataType
Type: Novalys.VisualGuard.Security.UserProfile..::..VGProfileDataType
displayName
Type: System..::..String
description
Type: System..::..String
maxLength
Type: System..::..Int32
defaultValue
Type: System..::..String
isVisible
Type: System..::..Boolean
isReadOnly
Type: System..::..Boolean
isRequired
Type: System..::..Boolean
allowSearch
Type: System..::..Boolean
viewOrder
Type: System..::..Int32
groupName
Type: System..::..String
validationExpression
Type: System..::..String
attributeInformationType
Type: Novalys.VisualGuard.Security.UserProfile..::..VGAttribute_InformationType

Return Value

Type: VGProfileAttribute

See Also