SC_Session_IsOwnedByUser()

Checks whether a user is the session user.

Synopsis:

#include <scoreloop/sc_session.h>
 
SC_Bool_t SC_Session_IsOwnedByUser(SC_Session_h self, SC_User_h user)

Arguments:

self

An opaque handle for the current session instance.

user

A user object to compare

Library:

libscoreloopcore

Description:

This method compares a specified user to the user stored in the session.

Returns:

SC_Bool_t SC_TRUE if the user is the same as the user from the session; SC_FALSE otherwise.

Last modified: 2013-12-21

comments powered by Disqus