'Declaration
<NotNullAttribute()> Public Overloads Shared Function CreateUserNameIdentity( _ ByVal userName As String _ ) As UserIdentity
'Usage
Dim userName As String Dim value As UserIdentity value = UserIdentity.CreateUserNameIdentity(userName)
[NotNull()] public static UserIdentity CreateUserNameIdentity( string userName )
[NotNull()] public: static UserIdentity^ CreateUserNameIdentity( String^ userName )
Parameters
- userName
- The username.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).