1 <?xml version="1.0" encoding="utf-8"?><doc>
3 <name>System.Security.Principal</name>
6 <member name="T:System.Security.Principal.TokenImpersonationLevel">
7 <summary>Defines security impersonation levels. Security impersonation levels govern the degree to which a server process can act on behalf of a client process.</summary>
9 <member name="F:System.Security.Principal.TokenImpersonationLevel.Anonymous">
10 <summary>The server process cannot obtain identification information about the client, and it cannot impersonate the client.</summary>
13 <member name="F:System.Security.Principal.TokenImpersonationLevel.Delegation">
14 <summary>The server process can impersonate the client&#39;s security context on remote systems.</summary>
17 <member name="F:System.Security.Principal.TokenImpersonationLevel.Identification">
18 <summary>The server process can obtain information about the client, such as security identifiers and privileges, but it cannot impersonate the client. This is useful for servers that export their own objects, for example, database products that export tables and views. Using the retrieved client-security information, the server can make access-validation decisions without being able to use other services that are using the client&#39;s security context.</summary>
21 <member name="F:System.Security.Principal.TokenImpersonationLevel.Impersonation">
22 <summary>The server process can impersonate the client&#39;s security context on its local system. The server cannot impersonate the client on remote systems.</summary>
25 <member name="F:System.Security.Principal.TokenImpersonationLevel.None">
26 <summary>An impersonation level is not assigned.</summary>
29 <member name="T:System.Security.Principal.PrincipalPolicy">
30 <summary>Specifies how principal and identity objects should be created for an application domain. The default is <see langword="UnauthenticatedPrincipal"></see>.</summary>
32 <member name="F:System.Security.Principal.PrincipalPolicy.NoPrincipal">
33 <summary>No principal or identity objects should be created.</summary>
36 <member name="F:System.Security.Principal.PrincipalPolicy.UnauthenticatedPrincipal">
37 <summary>Principal and identity objects for the unauthenticated entity should be created. An unauthenticated entity has <see cref="P:System.Security.Principal.GenericIdentity.Name"></see> set to the empty string (&quot;&quot;) and <see cref="P:System.Security.Principal.GenericIdentity.IsAuthenticated"></see> set to <see langword="false"></see>.</summary>
40 <member name="F:System.Security.Principal.PrincipalPolicy.WindowsPrincipal">
41 <summary>Principal and identity objects that reflect the operating system token associated with the current execution thread should be created, and the associated operating system groups should be mapped into roles.</summary>
44 <member name="T:System.Security.Principal.IPrincipal">
45 <summary>Defines the basic functionality of a principal object.</summary>
47 <member name="P:System.Security.Principal.IPrincipal.Identity">
48 <summary>Gets the identity of the current principal.</summary>
49 <returns>The <see cref="T:System.Security.Principal.IIdentity"></see> object associated with the current principal.</returns>
51 <member name="M:System.Security.Principal.IPrincipal.IsInRole(System.String)">
52 <summary>Determines whether the current principal belongs to the specified role.</summary>
53 <param name="role">The name of the role for which to check membership.</param>
54 <returns><see langword="true"></see> if the current principal is a member of the specified role; otherwise, <see langword="false"></see>.</returns>
56 <member name="T:System.Security.Principal.IIdentity">
57 <summary>Defines the basic functionality of an identity object.</summary>
59 <member name="P:System.Security.Principal.IIdentity.AuthenticationType">
60 <summary>Gets the type of authentication used.</summary>
61 <returns>The type of authentication used to identify the user.</returns>
63 <member name="P:System.Security.Principal.IIdentity.IsAuthenticated">
64 <summary>Gets a value that indicates whether the user has been authenticated.</summary>
65 <returns><see langword="true"></see> if the user was authenticated; otherwise, <see langword="false"></see>.</returns>
67 <member name="P:System.Security.Principal.IIdentity.Name">
68 <summary>Gets the name of the current user.</summary>
69 <returns>The name of the user on whose behalf the code is running.</returns>