public interface GroupPrincipal extends UserPrincipal
UserPrincipal
表示组身份 ,用于确定文件系统中对象的访问权限。
组的确切定义是实现特定的,但通常,它代表为管理目的而创建的身份,以便确定组成员的访问权限。
实体是否可以是多个组的成员,以及组是否可以嵌套,是指定的实现,因此未指定。
UserPrincipalLookupService.lookupPrincipalByGroupName(java.lang.String)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.