PassportIdentity.AuthUrl2 Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a string containing the Login server URL for a member, as well as optional information sent to the Login server in the query string. This class is deprecated.
Overloads
AuthUrl2() |
Returns a string containing the Login server URL for a member, as well as optional information sent to the Login server in the query string. This class is deprecated. |
AuthUrl2(String) |
Returns a string containing the Login server URL for a member, as well as optional information sent to the Login server in the query string. This class is deprecated. |
AuthUrl2(String, Int32, Boolean, String, Int32, String, Int32, Boolean) |
Returns a string containing the Login server URL for a member, as well as the optional information sent to the Login server in the query string. This class is deprecated. |
AuthUrl2(String, Int32, Int32, String, Int32, String, Int32, Int32) |
Retrieves a string containing the Login server URL for a member, as well as the optional information sent to the Login server in the query string. This class is deprecated. |
AuthUrl2()
Returns a string containing the Login server URL for a member, as well as optional information sent to the Login server in the query string. This class is deprecated.
public:
System::String ^ AuthUrl2();
public string AuthUrl2 ();
member this.AuthUrl2 : unit -> string
Public Function AuthUrl2 () As String
Returns
The Login server URL for a member, as well as optional information sent to the Login server in the query string.
Examples
// Declare new PassportIdendity object as variable newPass.
System.Web.Security.PassportIdentity newPass = new System.Web.Security.PassportIdentity();
// Declare and set myURL variable = the URL of the appropriate Passport SignIn/SignOut Authority.
string myURL = newPass.AuthUrl();
' Declare new PassportIdendity object as variable newPass.
Dim newPass As System.Web.Security.PassportIdentity = New System.Web.Security.PassportIdentity()
' Declare and set myURL variable = the URL of the appropriate Passport SignIn/SignOut Authority.
Dim myURL As String = newPass.AuthUrl()
Remarks
This class has been deprecated and is no longer supported. Microsoft Passport Network was replaced by Windows Live ID.
Applies to
AuthUrl2(String)
Returns a string containing the Login server URL for a member, as well as optional information sent to the Login server in the query string. This class is deprecated.
public:
System::String ^ AuthUrl2(System::String ^ strReturnUrl);
public string AuthUrl2 (string strReturnUrl);
member this.AuthUrl2 : string -> string
Public Function AuthUrl2 (strReturnUrl As String) As String
Parameters
- strReturnUrl
- String
The URL of the location that the Login server should redirect to after logon is complete. Pass null
to indicate that Passport should use the default value.
Returns
The Login server URL for a member, as well as the optional information sent to the Login server in the query string.
Remarks
This class has been deprecated and is no longer supported. Microsoft Passport Network was replaced by Windows Live ID.
Applies to
AuthUrl2(String, Int32, Boolean, String, Int32, String, Int32, Boolean)
Returns a string containing the Login server URL for a member, as well as the optional information sent to the Login server in the query string. This class is deprecated.
public:
System::String ^ AuthUrl2(System::String ^ strReturnUrl, int iTimeWindow, bool fForceLogin, System::String ^ strCoBrandedArgs, int iLangID, System::String ^ strNameSpace, int iKPP, bool bUseSecureAuth);
public string AuthUrl2 (string strReturnUrl, int iTimeWindow, bool fForceLogin, string strCoBrandedArgs, int iLangID, string strNameSpace, int iKPP, bool bUseSecureAuth);
member this.AuthUrl2 : string * int * bool * string * int * string * int * bool -> string
Public Function AuthUrl2 (strReturnUrl As String, iTimeWindow As Integer, fForceLogin As Boolean, strCoBrandedArgs As String, iLangID As Integer, strNameSpace As String, iKPP As Integer, bUseSecureAuth As Boolean) As String
Parameters
- strReturnUrl
- String
Sets the URL of the location that the Login server should redirect to after logon is complete. Pass null
to indicate that Passport should use the default value.
- iTimeWindow
- Int32
Specifies the interval during which members must have last logged on. Pass -1 to indicate that Passport should use the default value.
- fForceLogin
- Boolean
Determines how the iTimeWindow
parameter will be used. Pass -1 to indicate that Passport should use the default value.
- strCoBrandedArgs
- String
Specifies variables to be appended to the URL of the Cobranding Template script page that was specified at initial participant registration. Pass null
to indicate that Passport should use the default value.
- iLangID
- Int32
Specifies the language in which the required domain authority page should be displayed. Pass -1 to indicate that Passport should use the default value.
- strNameSpace
- String
Specifies the domain in which the Passport should be created. Pass null
to indicate that Passport should use the default value.
- iKPP
- Int32
Specifies data collection policies for purposes of Children's Online Privacy Protection Act (COPPA) compliance. Pass -1 to indicate that Passport should use the default value.
- bUseSecureAuth
- Boolean
Declares whether the actual logon UI should be served HTTPS from the Passport domain authority. Pass -1 to indicate that Passport should use the default value.
Returns
The Login server URL for a member, as well as the optional information sent to the Login server in the query string.
Remarks
This class has been deprecated and is no longer supported. Microsoft Passport Network was replaced by Windows Live ID.
Applies to
AuthUrl2(String, Int32, Int32, String, Int32, String, Int32, Int32)
Retrieves a string containing the Login server URL for a member, as well as the optional information sent to the Login server in the query string. This class is deprecated.
public:
System::String ^ AuthUrl2(System::String ^ strReturnUrl, int iTimeWindow, int iForceLogin, System::String ^ strCoBrandedArgs, int iLangID, System::String ^ strNameSpace, int iKPP, int iUseSecureAuth);
public string AuthUrl2 (string strReturnUrl, int iTimeWindow, int iForceLogin, string strCoBrandedArgs, int iLangID, string strNameSpace, int iKPP, int iUseSecureAuth);
member this.AuthUrl2 : string * int * int * string * int * string * int * int -> string
Public Function AuthUrl2 (strReturnUrl As String, iTimeWindow As Integer, iForceLogin As Integer, strCoBrandedArgs As String, iLangID As Integer, strNameSpace As String, iKPP As Integer, iUseSecureAuth As Integer) As String
Parameters
- strReturnUrl
- String
Sets the URL of the location that the Login server should redirect to after logon is complete. Pass null
to indicate that Passport should use the default value.
- iTimeWindow
- Int32
Specifies the interval during which members must have last logged on. Pass -1 to indicate that Passport should use the default value.
- iForceLogin
- Int32
Determines how the iTimeWindow
parameter will be used. Pass -1 to indicate that Passport should use the default value.
- strCoBrandedArgs
- String
Specifies variables to be appended to the URL of the Cobranding Template script page that was specified at initial participant registration. Pass null
to indicate that Passport should use the default value.
- iLangID
- Int32
Specifies the language in which the required domain authority page should be displayed. Pass -1 to indicate that Passport should use the default value.
- strNameSpace
- String
Specifies the domain in which the Passport should be created. Pass null
to indicate that Passport should use the default value.
- iKPP
- Int32
Specifies data collection policies for purposes of Children's Online Privacy Protection Act (COPPA) compliance. Pass -1 to indicate that Passport should use the default value.
- iUseSecureAuth
- Int32
Declares whether the actual logon UI should be served HTTPS from the Passport domain authority. Pass -1 to indicate that Passport should use the default value.
Returns
The Login server URL for a member, as well as the optional information sent to the Login server in the query string.
Remarks
This class has been deprecated and is no longer supported. Microsoft Passport Network was replaced by Windows Live ID.
Applies to
.NET