-
Notifications
You must be signed in to change notification settings - Fork 2
/
IAclEntry.xml
501 lines (499 loc) · 33.7 KB
/
IAclEntry.xml
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
<Type Name="IAclEntry" FullName="Java.Security.Acl.IAclEntry">
<TypeSignature Language="C#" Value="public interface IAclEntry : IDisposable, Java.Interop.IJavaPeerable, Java.Lang.ICloneable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IAclEntry implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class Java.Lang.ICloneable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Java.Security.Acl.IAclEntry" />
<TypeSignature Language="F#" Value="type IAclEntry = interface
 interface ICloneable
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Lang.ICloneable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/security/acl/AclEntry", "", "Java.Security.Acl.IAclEntryInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/security/acl/AclEntry", "", "Java.Security.Acl.IAclEntryInvoker")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0", "This class is obsoleted in this android platform")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0", "This class is obsoleted in this android platform")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>This is the interface used for representing one entry in an Access
Control List (ACL).</summary>
<remarks>
<para>This is the interface used for representing one entry in an Access
Control List (ACL).</para>
<para>An ACL can be thought of as a data structure with multiple ACL entry
objects. Each ACL entry object contains a set of permissions associated
with a particular principal. (A principal represents an entity such as
an individual user or a group). Additionally, each ACL entry is specified
as being either positive or negative. If positive, the permissions are
to be granted to the associated principal. If negative, the permissions
are to be denied. Each principal can have at most one positive ACL entry
and one negative entry; that is, multiple positive or negative ACL
entries are not allowed for any principal.
Note: ACL entries are by default positive. An entry becomes a
negative entry only if the
<c>#setNegativePermissions() setNegativePermissions</c>
method is called on it.</para>
<para>Added in 1.1.</para>
<para>This member is deprecated. This class is deprecated and subject to removal in a future
version of Java SE. It has been replaced by <c>java.security.Policy</c>
and related classes since 1.2.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/acl/AclEntry" title="Reference documentation">Java documentation for <code>java.security.acl.AclEntry</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName="AddPermission">
<MemberSignature Language="C#" Value="public bool AddPermission (Java.Security.Acl.IPermission? permission);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool AddPermission(class Java.Security.Acl.IPermission permission) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Security.Acl.IAclEntry.AddPermission(Java.Security.Acl.IPermission)" />
<MemberSignature Language="F#" Value="abstract member AddPermission : Java.Security.Acl.IPermission -> bool" Usage="iAclEntry.AddPermission permission" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("addPermission", "(Ljava/security/acl/Permission;)Z", "GetAddPermission_Ljava_security_acl_Permission_Handler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("addPermission", "(Ljava/security/acl/Permission;)Z", "GetAddPermission_Ljava_security_acl_Permission_Handler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="permission" Type="Java.Security.Acl.IPermission" />
</Parameters>
<Docs>
<param name="permission">the permission to be associated with
the principal in this entry.</param>
<summary>Adds the specified permission to this ACL entry.</summary>
<returns>true if the permission was added, false if the
permission was already part of this entry's permission set.</returns>
<remarks>
<para>Adds the specified permission to this ACL entry. Note: An entry can
have multiple permissions.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/acl/AclEntry#addPermission(java.security.acl.Permission)" title="Reference documentation">Java documentation for <code>java.security.acl.AclEntry.addPermission(java.security.acl.Permission)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="CheckPermission">
<MemberSignature Language="C#" Value="public bool CheckPermission (Java.Security.Acl.IPermission? permission);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool CheckPermission(class Java.Security.Acl.IPermission permission) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Security.Acl.IAclEntry.CheckPermission(Java.Security.Acl.IPermission)" />
<MemberSignature Language="F#" Value="abstract member CheckPermission : Java.Security.Acl.IPermission -> bool" Usage="iAclEntry.CheckPermission permission" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("checkPermission", "(Ljava/security/acl/Permission;)Z", "GetCheckPermission_Ljava_security_acl_Permission_Handler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("checkPermission", "(Ljava/security/acl/Permission;)Z", "GetCheckPermission_Ljava_security_acl_Permission_Handler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="permission" Type="Java.Security.Acl.IPermission" />
</Parameters>
<Docs>
<param name="permission">the permission to be checked for.</param>
<summary>Checks if the specified permission is part of the
permission set in this entry.</summary>
<returns>true if the permission is part of the
permission set in this entry, false otherwise.</returns>
<remarks>
<para>Checks if the specified permission is part of the
permission set in this entry.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/acl/AclEntry#checkPermission(java.security.acl.Permission)" title="Reference documentation">Java documentation for <code>java.security.acl.AclEntry.checkPermission(java.security.acl.Permission)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Clone">
<MemberSignature Language="C#" Value="public Java.Lang.Object? Clone ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Lang.Object Clone() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Security.Acl.IAclEntry.Clone" />
<MemberSignature Language="F#" Value="abstract member Clone : unit -> Java.Lang.Object" Usage="iAclEntry.Clone " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("clone", "()Ljava/lang/Object;", "GetCloneHandler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("clone", "()Ljava/lang/Object;", "GetCloneHandler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Clones this ACL entry.</summary>
<returns>a clone of this ACL entry.</returns>
<remarks>
<para>Clones this ACL entry.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/acl/AclEntry#clone()" title="Reference documentation">Java documentation for <code>java.security.acl.AclEntry.clone()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="IsNegative">
<MemberSignature Language="C#" Value="public bool IsNegative { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsNegative" />
<MemberSignature Language="DocId" Value="P:Java.Security.Acl.IAclEntry.IsNegative" />
<MemberSignature Language="F#" Value="member this.IsNegative : bool" Usage="Java.Security.Acl.IAclEntry.IsNegative" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("isNegative", "()Z", "GetIsNegativeHandler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("isNegative", "()Z", "GetIsNegativeHandler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns whether this ACL entry is <format type="text/html"><i>negative</i></format>.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Permissions">
<MemberSignature Language="C#" Value="public Java.Util.IEnumeration? Permissions ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Java.Util.IEnumeration Permissions() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Security.Acl.IAclEntry.Permissions" />
<MemberSignature Language="F#" Value="abstract member Permissions : unit -> Java.Util.IEnumeration" Usage="iAclEntry.Permissions " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("permissions", "()Ljava/util/Enumeration;", "GetPermissionsHandler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("permissions", "()Ljava/util/Enumeration;", "GetPermissionsHandler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Util.IEnumeration</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns an enumeration of the permissions in this ACL entry.</summary>
<returns>an enumeration of the permissions in this ACL entry.</returns>
<remarks>
<para>Returns an enumeration of the permissions in this ACL entry.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/acl/AclEntry#permissions()" title="Reference documentation">Java documentation for <code>java.security.acl.AclEntry.permissions()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Principal">
<MemberSignature Language="C#" Value="public Java.Security.IPrincipal? Principal { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Security.IPrincipal Principal" />
<MemberSignature Language="DocId" Value="P:Java.Security.Acl.IAclEntry.Principal" />
<MemberSignature Language="F#" Value="member this.Principal : Java.Security.IPrincipal" Usage="Java.Security.Acl.IAclEntry.Principal" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getPrincipal", "()Ljava/security/Principal;", "GetGetPrincipalHandler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getPrincipal", "()Ljava/security/Principal;", "GetGetPrincipalHandler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Security.IPrincipal</ReturnType>
</ReturnValue>
<Docs>
<summary>Returns the principal of this ACL entry.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="RemovePermission">
<MemberSignature Language="C#" Value="public bool RemovePermission (Java.Security.Acl.IPermission? permission);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool RemovePermission(class Java.Security.Acl.IPermission permission) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Security.Acl.IAclEntry.RemovePermission(Java.Security.Acl.IPermission)" />
<MemberSignature Language="F#" Value="abstract member RemovePermission : Java.Security.Acl.IPermission -> bool" Usage="iAclEntry.RemovePermission permission" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("removePermission", "(Ljava/security/acl/Permission;)Z", "GetRemovePermission_Ljava_security_acl_Permission_Handler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("removePermission", "(Ljava/security/acl/Permission;)Z", "GetRemovePermission_Ljava_security_acl_Permission_Handler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="permission" Type="Java.Security.Acl.IPermission" />
</Parameters>
<Docs>
<param name="permission">the permission to be removed from this entry.</param>
<summary>Removes the specified permission from this ACL entry.</summary>
<returns>true if the permission is removed, false if the
permission was not part of this entry's permission set.</returns>
<remarks>
<para>Removes the specified permission from this ACL entry.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/acl/AclEntry#removePermission(java.security.acl.Permission)" title="Reference documentation">Java documentation for <code>java.security.acl.AclEntry.removePermission(java.security.acl.Permission)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="SetNegativePermissions">
<MemberSignature Language="C#" Value="public void SetNegativePermissions ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void SetNegativePermissions() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Security.Acl.IAclEntry.SetNegativePermissions" />
<MemberSignature Language="F#" Value="abstract member SetNegativePermissions : unit -> unit" Usage="iAclEntry.SetNegativePermissions " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setNegativePermissions", "()V", "GetSetNegativePermissionsHandler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setNegativePermissions", "()V", "GetSetNegativePermissionsHandler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Sets this ACL entry to be a negative one.</summary>
<remarks>
<para>Sets this ACL entry to be a negative one. That is, the associated
principal (e.g., a user or a group) will be denied the permission set
specified in the entry.
Note: ACL entries are by default positive. An entry becomes a
negative entry only if this <c>setNegativePermissions</c>
method is called on it.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/acl/AclEntry#setNegativePermissions()" title="Reference documentation">Java documentation for <code>java.security.acl.AclEntry.setNegativePermissions()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="SetPrincipal">
<MemberSignature Language="C#" Value="public bool SetPrincipal (Java.Security.IPrincipal? user);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool SetPrincipal(class Java.Security.IPrincipal user) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Security.Acl.IAclEntry.SetPrincipal(Java.Security.IPrincipal)" />
<MemberSignature Language="F#" Value="abstract member SetPrincipal : Java.Security.IPrincipal -> bool" Usage="iAclEntry.SetPrincipal user" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("setPrincipal", "(Ljava/security/Principal;)Z", "GetSetPrincipal_Ljava_security_Principal_Handler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("setPrincipal", "(Ljava/security/Principal;)Z", "GetSetPrincipal_Ljava_security_Principal_Handler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="user" Type="Java.Security.IPrincipal" />
</Parameters>
<Docs>
<param name="user">the principal to be set for this entry.</param>
<summary>Specifies the principal for which permissions are granted or denied
by this ACL entry.</summary>
<returns>true if the principal is set, false if there was
already a principal set for this entry.</returns>
<remarks>
<para>Specifies the principal for which permissions are granted or denied
by this ACL entry. If a principal was already set for this ACL entry,
false is returned, otherwise true is returned.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/acl/AclEntry#setPrincipal(java.security.Principal)" title="Reference documentation">Java documentation for <code>java.security.acl.AclEntry.setPrincipal(java.security.Principal)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public string? ToString ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string ToString() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Security.Acl.IAclEntry.ToString" />
<MemberSignature Language="F#" Value="abstract member ToString : unit -> string" Usage="iAclEntry.ToString " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("toString", "()Ljava/lang/String;", "GetToStringHandler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("toString", "()Ljava/lang/String;", "GetToStringHandler:Java.Security.Acl.IAclEntryInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.Versioning.ObsoletedOSPlatform("android33.0")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns a string representation of the contents of this ACL entry.</summary>
<returns>a string representation of the contents.</returns>
<remarks>
<para>Returns a string representation of the contents of this ACL entry.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/security/acl/AclEntry#toString()" title="Reference documentation">Java documentation for <code>java.security.acl.AclEntry.toString()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
</Members>
</Type>