* Type.cs: corrected property IsSerializable. It should always return true for enums...
[mono.git] / mcs / class / corlib / System.Security.Principal / WindowsIdentity.cs
1 //
2 // System.Security.Principal.WindowsIdentity
3 //
4 // Authors:
5 //      Gonzalo Paniagua Javier (gonzalo@ximian.com)
6 //
7 // (C) 2002 Ximian, Inc (http://www.ximian.com)
8 //
9
10 using System;
11 using System.Runtime.Serialization;
12
13 namespace System.Security.Principal
14 {
15         [Serializable]
16         public class WindowsIdentity : IIdentity, IDeserializationCallback
17         {
18                 public WindowsIdentity (IntPtr userToken)
19                 {
20                 }
21
22                 [MonoTODO]
23                 public WindowsIdentity (IntPtr userToken, string type)
24                 {
25                 }
26
27                 [MonoTODO]
28                 public WindowsIdentity (IntPtr userToken, string type, WindowsAccountType acctType)
29                 {
30                 }
31
32                 [MonoTODO]
33                 public WindowsIdentity (IntPtr userToken,
34                                         string type,
35                                         WindowsAccountType acctType,
36                                         bool isAuthenticated)
37                 {
38                 }
39
40                 [MonoTODO]
41                 ~WindowsIdentity ()
42                 {
43                 }
44
45                 [MonoTODO]
46                 public static WindowsIdentity GetAnonymous ()
47                 {
48                         throw new NotImplementedException ();
49                 }
50
51                 [MonoTODO]
52                 public static WindowsIdentity GetCurrent ()
53                 {
54                         throw new NotImplementedException ();
55                 }
56
57                 [MonoTODO]
58                 public virtual WindowsImpersonationContext Impersonate ()
59                 {
60                         throw new NotImplementedException ();
61                 }
62
63                 [MonoTODO]
64                 public static WindowsImpersonationContext Impersonate (IntPtr userToken)
65                 {
66                         throw new NotImplementedException ();
67                 }
68
69                 [MonoTODO]
70                 public virtual string AuthenticationType
71                 {
72                         get {
73                                 throw new NotImplementedException ();
74                         }
75                 }
76
77                 [MonoTODO]
78                 public virtual bool IsAnonymous
79                 {
80                         get {
81                                 throw new NotImplementedException ();
82                         }
83                 }
84
85                 [MonoTODO]
86                 public virtual bool IsAuthenticated
87                 {
88                         get {
89                                 throw new NotImplementedException ();
90                         }
91                 }
92
93                 [MonoTODO]
94                 public virtual bool IsGuest
95                 {
96                         get {
97                                 throw new NotImplementedException ();
98                         }
99                 }
100
101                 [MonoTODO]
102                 public virtual bool IsSystem
103                 {
104                         get {
105                                 throw new NotImplementedException ();
106                         }
107                 }
108
109                 [MonoTODO]
110                 public virtual string Name
111                 {
112                         get {
113                                 throw new NotImplementedException ();
114                         }
115                 }
116
117                 [MonoTODO]
118                 public virtual IntPtr Token
119                 {
120                         get {
121                                 throw new NotImplementedException ();
122                         }
123                 }
124
125                 [MonoTODO]
126                 void IDeserializationCallback.OnDeserialization (object sender)
127                 {
128                         throw new NotImplementedException ();
129                 }
130         }
131 }
132