/
IUserPrincipal.xml
62 lines (62 loc) · 4.02 KB
/
IUserPrincipal.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
<Type Name="IUserPrincipal" FullName="Java.Nio.FileNio.Attributes.IUserPrincipal">
<TypeSignature Language="C#" Value="public interface IUserPrincipal : IDisposable, Java.Interop.IJavaPeerable, Java.Security.IPrincipal" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IUserPrincipal implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class Java.Security.IPrincipal, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Java.Nio.FileNio.Attributes.IUserPrincipal" />
<TypeSignature Language="F#" Value="type IUserPrincipal = interface
 interface IPrincipal
 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.Security.IPrincipal</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/nio/file/attribute/UserPrincipal", "", "Java.Nio.FileNio.Attributes.IUserPrincipalInvoker", ApiSince=26)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/nio/file/attribute/UserPrincipal", "", "Java.Nio.FileNio.Attributes.IUserPrincipalInvoker", ApiSince=26)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>A <c>Principal</c> representing an identity used to determine access rights
to objects in a file system.</summary>
<remarks>
<para>A <c>Principal</c> representing an identity used to determine access rights
to objects in a file system.</para>
<para>On many platforms and file systems an entity requires appropriate access
rights or permissions in order to access objects in a file system. The
access rights are generally performed by checking the identity of the entity.
For example, on implementations that use Access Control Lists (ACLs) to
enforce privilege separation then a file in the file system may have an
associated ACL that determines the access rights of identities specified in
the ACL.</para>
<para>A <c>UserPrincipal</c> object is an abstract representation of an
identity. It has a <c>#getName() name</c> that is typically the username or
account name that it represents. User principal objects may be obtained using
a <c>UserPrincipalLookupService</c>, or returned by <c>FileAttributeView</c> implementations that provide access to identity related
attributes. For example, the <c>AclFileAttributeView</c> and <c>PosixFileAttributeView</c> provide access to a file's <c>PosixFileAttributes#owner owner</c>.</para>
<para>Added in 1.7.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/nio/file/attribute/UserPrincipal" title="Reference documentation">Java documentation for <code>java.nio.file.attribute.UserPrincipal</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>
</Docs>
<Members />
</Type>