Creates profile attribute for role.
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 VGRoleProfileAttribute CreateProfileAttribute( string propertyName, VGCommonProfileDataType dataType ) |
Visual Basic |
---|
Public Function CreateProfileAttribute ( propertyName As String, dataType As VGCommonProfileDataType ) As VGRoleProfileAttribute |
Parameters
- propertyName
- Type: System..::..String
PropertyName for attribute
- dataType
- Type: Novalys.VisualGuard.Security.CommonProfileAttribute..::..VGCommonProfileDataType
Datattype for attribute
Return Value
Type: VGRoleProfileAttributeCreated profile attribute