Documentation ¶
Index ¶
- func GetGroupId(groupObj *user.Group) (int, *errorwrapper.Wrapper)
- func LookupGroup(groupName string) (*user.Group, *errorwrapper.Wrapper)
- func LookupUser(userName string) (userResult *user.User, errorWrapper *errorwrapper.Wrapper)
- func SystemUserId(userResult *user.User) (int, *errorwrapper.Wrapper)
- type GroupInfo
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGroupId ¶
func GetGroupId(groupObj *user.Group) (int, *errorwrapper.Wrapper)
func LookupGroup ¶
func LookupGroup(groupName string) (*user.Group, *errorwrapper.Wrapper)
func LookupUser ¶
func LookupUser(userName string) (userResult *user.User, errorWrapper *errorwrapper.Wrapper)
func SystemUserId ¶
func SystemUserId(userResult *user.User) (int, *errorwrapper.Wrapper)
Types ¶
type GroupInfo ¶
type GroupInfo struct { *user.Group Id int IsValidGroup bool HasValidId bool ErrorWrapper *errorwrapper.Wrapper }
func GetGroupInfo ¶
func InvalidGroupInfo ¶
func InvalidGroupInfo(errorWrapper *errorwrapper.Wrapper) *GroupInfo
type UserInfo ¶
type UserInfo struct { *user.User Id int IsValidUser bool HasValidId bool ErrorWrapper *errorwrapper.Wrapper }
func GetUserInfo ¶
func InvalidUserInfo ¶
func InvalidUserInfo(errorWrapper *errorwrapper.Wrapper) *UserInfo
Click to show internal directories.
Click to hide internal directories.