Lines Matching refs:session
116 This function allows the creator of a (new) security session to associate an arbitrary
117 UNIX user identity (uid) with the session. This uid can be retrieved with
118 SessionGetDistinguishedUser by anyone who knows the session's id, and may also
121 This call can only be made by the process that created the session, and only
126 @param session (input) Session-id for which to set the uid. Can be one of the
130 OSStatus SessionSetDistinguishedUser(SecuritySessionId session, uid_t user);
135 Retrieves the distinguished uid of a session as set by the session creator
138 @param session (input) Session-id for which to set the uid. Can be one of the
142 OSStatus SessionGetDistinguishedUser(SecuritySessionId session, uid_t *user);
146 Set preferences from current application context for session (for use during agent interactions).
148 @param session (input) Session-id for which to set the user preferences. Can be one of the special constants defined in AuthSession.h.
150 OSStatus SessionSetUserPreferences(SecuritySessionId session);