📄 _global.asax
字号:
<%@ Import Namespace="Microsoft.WebServices.Security" %>
<%@ Import Namespace="System.Security.Principal" %>
<script Language="VB" runat="server">
Public Sub WebServiceAuthentication_OnAuthenticate(sender As Object, e As WebServiceAuthenticationEvent)
If ((e.User = "you@aabbcc.com") AND (e.Password = "LetMeIn")) Then
' e.Authenticate()
Dim s(1) As String
s(0) = "Customer"
e.Authenticate(s)
End If
End Sub
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -