'Declaration<ExtensionAttribute()> <JetBrains.Annotations.CanBeNullAttribute()> Public Shared Function CreateWithSecurityRoleIds( _ ByVal nameAndPasswordUserManager As INameAndPasswordUserManager, _ ByVal userName As String, _ ByVal password As String, _ ByVal securityRoleIds As IEnumerable(Of String) _ ) As String
'UsageDim nameAndPasswordUserManager As INameAndPasswordUserManager Dim userName As String Dim password As String Dim securityRoleIds As IEnumerable(Of String) Dim value As String value = INameAndPasswordUserManagerExtension.CreateWithSecurityRoleIds(nameAndPasswordUserManager, userName, password, securityRoleIds)
[Extension()] [JetBrains.Annotations.CanBeNull()] public static string CreateWithSecurityRoleIds( INameAndPasswordUserManager nameAndPasswordUserManager, string userName, string password, IEnumerable<string> securityRoleIds )
[Extension()] [JetBrains.Annotations.CanBeNull()] public: static String^ CreateWithSecurityRoleIds( INameAndPasswordUserManager^ nameAndPasswordUserManager, String^ userName, String^ password, IEnumerable<String^>^ securityRoleIds )
Parameters
- nameAndPasswordUserManager
- The user manager.
The value of this parameter cannot be
null(Nothingin Visual Basic). - userName
- The username for the new user.
The value of this parameter cannot be
null(Nothingin Visual Basic). - password
- The password for the new user.
The value of this parameter cannot be
null(Nothingin Visual Basic). - securityRoleIds
- The security role IDs to assign to the new user.
The value of this parameter cannot be
null(Nothingin Visual Basic).The individual elements of the parameter value cannot be
null(Nothingin Visual Basic).
Return Value
null if the operation failed.
This method can return null (Nothing in Visual Basic).