File: RoleManagerModule.xml

package info (click to toggle)
mono 6.14.1%2Bds2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,282,732 kB
  • sloc: cs: 11,182,461; xml: 2,850,281; ansic: 699,123; cpp: 122,919; perl: 58,604; javascript: 30,841; asm: 21,845; makefile: 19,602; sh: 10,973; python: 4,772; pascal: 925; sql: 859; sed: 16; php: 1
file content (122 lines) | stat: -rw-r--r-- 8,285 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<?xml version="1.0" encoding="utf-8"?>
<Type Name="RoleManagerModule" FullName="System.Web.Security.RoleManagerModule">
  <TypeSignature Language="C#" Value="public sealed class RoleManagerModule : System.Web.IHttpModule" />
  <AssemblyInfo>
    <AssemblyName>System.Web</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces>
    <Interface>
      <InterfaceName>System.Web.IHttpModule</InterfaceName>
    </Interface>
  </Interfaces>
  <Docs>
    <since version=".NET 2.0" />
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>The <see cref="T:System.Web.Security.RoleManagerModule" /> class is used to assign a <see cref="T:System.Web.Security.RolePrincipal" /> to the <see cref="P:System.Web.HttpContext.User" /> property of the <see cref="P:System.Web.HttpContext.Current" /> <see cref="T:System.Web.HttpContext" />.</para>
      <para>When a request completes, the <see cref="T:System.Web.Security.RoleManagerModule" /> refreshes the roles cookie that contains cached role information. If the <see cref="P:System.Web.HttpContext.User" /> property is of type <see cref="T:System.Web.Security.RolePrincipal" />, and that <see cref="T:System.Web.Security.RolePrincipal" /> indicates that its cached role list has been modified by setting the <see cref="P:System.Web.Security.RolePrincipal.CachedListChanged" /> property to true, the <see cref="T:System.Web.Security.RoleManagerModule" /> will update the roles cookie that contains cached role information.</para>
      <para>This class is not intended to be used directly from your code.</para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Manages a <see cref="T:System.Web.Security.RolePrincipal" /> instance for the current user. This class cannot be inherited.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public RoleManagerModule ();" />
      <MemberType>Constructor</MemberType>
      <Parameters />
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="T:System.Web.Security.RoleManagerModule" /> class is used to place a <see cref="T:System.Web.Security.RolePrincipal" /> in the <see cref="P:System.Web.HttpContext.User" /> property of the <see cref="P:System.Web.HttpContext.Current" /> <see cref="T:System.Web.HttpContext" /> and is not intended to be used directly from your code.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Creates a new instance of the <see cref="T:System.Web.Security.RoleManagerModule" /> class.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Dispose">
      <MemberSignature Language="C#" Value="public void Dispose ();" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Call <see cref="M:System.Web.Security.RoleManagerModule.Dispose" /> when you are finished using the <see cref="T:System.Web.Security.RoleManagerModule" />. The <see cref="M:System.Web.Security.RoleManagerModule.Dispose" /> method leaves the <see cref="T:System.Web.Security.RoleManagerModule" /> in an unusable state. After calling <see cref="M:System.Web.Security.RoleManagerModule.Dispose" />, you must release all references to the <see cref="T:System.Web.Security.RoleManagerModule" /> so the memory it occupied can be reclaimed by garbage collection.</para>
          <para>This method is not intended to be used directly from your code.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Called by the HTTP runtime to dispose of the role-manager module.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="GetRoles">
      <MemberSignature Language="C#" Value="public event System.Web.Security.RoleManagerEventHandler GetRoles;" />
      <MemberType>Event</MemberType>
      <ReturnValue>
        <ReturnType>System.Web.Security.RoleManagerEventHandler</ReturnType>
      </ReturnValue>
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The <see cref="E:System.Web.Security.RoleManagerModule.GetRoles" /> event is raised before the <see cref="T:System.Web.Security.RoleManagerModule" /> creates a <see cref="T:System.Web.Security.RolePrincipal" /> object and assigns it to the <see cref="P:System.Web.HttpContext.User" /> property of the <see cref="P:System.Web.HttpContext.Current" /> <see cref="T:System.Web.HttpContext" />. You can use this event to audit when role information is applied or to replace the creation of a <see cref="T:System.Web.Security.RolePrincipal" /> by the <see cref="T:System.Web.Security.RoleManagerModule" /> with your own code.</para>
          <para>You can cancel the application of role information by the <see cref="T:System.Web.Security.RoleManagerModule" /> by setting the <see cref="P:System.Web.Security.RoleManagerEventArgs.RolesPopulated" /> property of the <see cref="T:System.Web.Security.RoleManagerEventArgs" /> to true in the <see cref="E:System.Web.Security.RoleManagerModule.GetRoles" /> event.</para>
          <para>If you set <see cref="P:System.Web.Security.RoleManagerEventArgs.RolesPopulated" /> to true in your <see cref="E:System.Web.Security.RoleManagerModule.GetRoles" /> event handler, then the <see cref="P:System.Web.HttpContext.User" /> property of the current <see cref="T:System.Web.HttpContext" /> is not set to a <see cref="T:System.Web.Security.RolePrincipal" /> object by the <see cref="T:System.Web.Security.RoleManagerModule" />.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A global application event that is raised when the <see cref="T:System.Web.Security.RoleManagerModule" /> is ready to create a <see cref="T:System.Web.Security.RolePrincipal" /> that represents the current user.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Init">
      <MemberSignature Language="C#" Value="public void Init (System.Web.HttpApplication app);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="app" Type="System.Web.HttpApplication" />
      </Parameters>
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>This method subscribes to the <see cref="E:System.Web.HttpApplication.PostAuthorizeRequest" /> and <see cref="E:System.Web.HttpApplication.EndRequest" /> methods of the specified <see cref="T:System.Web.HttpApplication" /> for the purpose of managing role information and is not intended to be used directly from your code.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Associates the role manager with the specified application.</para>
        </summary>
        <param name="app">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.HttpApplication" /> to associate the <see cref="T:System.Web.Security.RoleManagerModule" /> with.</param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
</Type>