NAME

Ubic::Credentials::OS::MacOSX - MacOSX-specific credentials implementation

VERSION

version 1.60

METHODS

user()

Get user name.

group()

Get group name.

Complementary group ids are not supported for Mac OS X yet (can't figure out how to get list of them for current user, i.e. imitate id(1) behaviour from perl).

real_user_id()

Get numeric real user id.

effective_user_id()

Get numeric effective user id.

real_group_id()

Get numeric real group id.

effective_group_id()

Get numeric effective group id.

BUGS AND CAVEATS

Complementary groups are not supported for Mac OS X. Only first group in service's group list is used.

If somebody'll figure out how to imitate id(1) in perl, i.e. to get list of all complementary groups of given user, this module can be removed and replaced by Ubic::Credentials::OS::POSIX.

AUTHOR

Vyacheslav Matyukhin <mmcleric@yandex-team.ru>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Yandex LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.