UGFleets

(/rs/public/functions.php)

UGFleets -- Array of Fleets member has undergrad admin privileges in.

Description

array UGFleets ($pin)

This function will return an array containing any fleet id's a member with specified pin has the ability to modify data on the join system for.

A member has admin priviledges on the join system if the member is in the command staff for the fleet, or if the member is notified of new cadets joining through the system via the notifications system.

This function returns an empty array upon failure, or if there are no fleets the member has access in.

Examples

UGFleets (1) /* Returns an array of fleet id's that member with database id 1 has access to the join system for. */

UGFleets () /* Returns an empty array */

Related Functions

None.

Dependencies

None.

Function Index