'Declaration<ExtensionAttribute()> Public Shared Function GetUserRecordInfo( _ ByVal readOnlyNameAndPasswordUserManager2 As IReadOnlyNameAndPasswordUserManager2, _ ByVal securityId As String, _ ByRef userRecordInfo As UserRecordInfo _ ) As Boolean
'UsageDim readOnlyNameAndPasswordUserManager2 As IReadOnlyNameAndPasswordUserManager2 Dim securityId As String Dim userRecordInfo As UserRecordInfo Dim value As Boolean value = IReadOnlyNameAndPasswordUserManager2Extension.GetUserRecordInfo(readOnlyNameAndPasswordUserManager2, securityId, userRecordInfo)
[Extension()] public static bool GetUserRecordInfo( IReadOnlyNameAndPasswordUserManager2 readOnlyNameAndPasswordUserManager2, string securityId, out UserRecordInfo userRecordInfo )
[Extension()] public: static bool GetUserRecordInfo( IReadOnlyNameAndPasswordUserManager2^ readOnlyNameAndPasswordUserManager2, String^ securityId, [Out] UserRecordInfo^ userRecordInfo )
Parameters
- readOnlyNameAndPasswordUserManager2
- The user manager.
The value of this parameter cannot be
null(Nothingin Visual Basic). - securityId
- The security ID of the user.
The value of this parameter cannot be
null(Nothingin Visual Basic). - userRecordInfo
- When this method returns, contains the user record information if the user was found; otherwise,
null.The value of this parameter can be
null(Nothingin Visual Basic).
Return Value
true if the user was found and the information was retrieved successfully; otherwise, false.