PassportIdentity.AuthUrl Method
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.
Overload List
Returns a string containing the Login server URL for a member, as well as with optional information sent to the Login server in the query string.
[Visual Basic] Overloads Public Function AuthUrl() As String
[C#] public string AuthUrl();
[C++] public: String* AuthUrl();
[JScript] public function AuthUrl() : String;
Returns a string containing the Login server URL for a member, along with optional information sent to the Login server in the query string.
[Visual Basic] Overloads Public Function AuthUrl(String) As String
[C#] public string AuthUrl(string);
[C++] public: String* AuthUrl(String*);
[JScript] public function AuthUrl(String) : String;
Returns the authentication server URL for a member.
[Visual Basic] Overloads Public Function AuthUrl(String, Integer, Boolean, String, Integer, String, Integer, Boolean) As String
[C#] public string AuthUrl(string, int, bool, string, int, string, int, bool);
[C++] public: String* AuthUrl(String*, int, bool, String*, int, String*, int, bool);
[JScript] public function AuthUrl(String, int, Boolean, String, int, String, int, Boolean) : String;
Returns a string containing the Login server URL for a member, along with the optional information sent to the Login server in the query string
[Visual Basic] Overloads Public Function AuthUrl(String, Integer, Integer, String, Integer, String, Integer, Integer) As String
[C#] public string AuthUrl(string, int, int, string, int, string, int, int);
[C++] public: String* AuthUrl(String*, int, int, String*, int, String*, int, int);
[JScript] public function AuthUrl(String, int, int, String, int, String, int, int) : String;
Example
[Visual Basic, C#, C++] Note This example shows how to use one of the overloaded versions of AuthUrl. For other examples that might be available, see the individual overload topics.
[Visual Basic] ' 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() [C#] // 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(); [C++] // Declare new PassportIdendity object as variable newPass. PassportIdentity* newPass = new PassportIdentity(); // Declare and set myURL variable = the URL of the appropriate Passport SignIn/SignOut Authority. String* myURL = newPass->AuthUrl();
[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button
in the upper-left corner of the page.
See Also
PassportIdentity Class | PassportIdentity Members | System.Web.Security Namespace