SingleSignOnMembershipProvider.CreateUser Method (String, String, String, String, String, Boolean, Object, MembershipCreateStatus)
This method supports the AD FS infrastructure and is not intended to be used directly from your code.
Namespace: System.Web.Security.SingleSignOn
Assembly: System.Web.Security.SingleSignOn (in System.Web.Security.SingleSignOn.dll)
Syntax
public override MembershipUser CreateUser(
string username,
string password,
string email,
string passwordQuestion,
string passwordAnswer,
bool isApproved,
object userId,
out MembershipCreateStatus status
)
public:
virtual MembershipUser^ CreateUser(
String^ username,
String^ password,
String^ email,
String^ passwordQuestion,
String^ passwordAnswer,
bool isApproved,
Object^ userId,
[OutAttribute] MembershipCreateStatus% status
) override
override CreateUser :
username:string *
password:string *
email:string *
passwordQuestion:string *
passwordAnswer:string *
isApproved:bool *
userId:Object *
status:MembershipCreateStatus byref -> MembershipUser
Public Overrides Function CreateUser (
username As String,
password As String,
email As String,
passwordQuestion As String,
passwordAnswer As String,
isApproved As Boolean,
userId As Object,
<OutAttribute> ByRef status As MembershipCreateStatus
) As MembershipUser
Parameters
username
Type: System.StringThe user name for the new user.
password
Type: System.StringThe password for the new user.
email
Type: System.StringThe e-mail address for the new user.
passwordQuestion
Type: System.StringThe password question for the new user.
passwordAnswer
Type: System.StringThe password answer for the new user.
isApproved
Type: System.BooleanWhether or not the new user is approved to be validated.
userId
Type: System.ObjectThe unique identifier for the user.
status
Type: System.Web.Security.MembershipCreateStatusA status indicating whether the user was created successfully.
Return Value
Type: System.Web.Security.MembershipUser
The new user.
See Also
SingleSignOnMembershipProvider Class
System.Web.Security.SingleSignOn Namespace
Return to top