Creates profile attribute for application.
Namespace: Novalys.VisualGuard.Security.MembershipAssembly: Novalys.VisualGuard.Security (in Novalys.VisualGuard.Security.dll) Version: 2017.0.101.17 (2017.0.101.17)
Syntax
C# |
---|
public VGApplicationProfileAttribute CreateProfileAttribute( VGApplication application, string propertyName, bool isOverwriteWhenDeployed, bool isEncrypted ) |
Visual Basic |
---|
Public Function CreateProfileAttribute ( application As VGApplication, propertyName As String, isOverwriteWhenDeployed As Boolean, isEncrypted As Boolean ) As VGApplicationProfileAttribute |
Parameters
- application
- Type: Novalys.VisualGuard.Security.Membership..::..VGApplication
application for which you want to create profile attribute
- propertyName
- Type: System..::..String
propertyname of attribute
- isOverwriteWhenDeployed
- Type: System..::..Boolean
set it to true if you want this attribute to be overwriten when deployed to repository, otherwise set it to false
- isEncrypted
- Type: System..::..Boolean
Set it to true if you want this attribute's value to be encrypted, otherwise set it to false
Return Value
Type: VGApplicationProfileAttributenewly created profile attribute