Skip to content

security

Platform-neutral security APIs.

Types

TypeDescription
AclSpec An access-control list in any portable format, built or given as its entries.
AnyAcl An access-control list in any portable format.

AclSpec = (security.unix.AclSpec | security.nfs4.AclSpec | security.macos.AclSpec)

An access-control list in any portable format, built or given as its entries.

AnyAcl = (security.unix.Acl | security.nfs4.Acl | security.macos.Acl)

An access-control list in any portable format.

Functions

user_name() -> Str

Get the current user's name.

This is the real user ID's name on Unix, or the access token's user SID's name on Windows.