| ||||
GetFacilityEx method**This method is obsolete in V. 7.** Returns a Facility. Syntax
ParametersFacilityEither the eRoom ID of the Facility or the name of a Facility as it appears in its URL. FacilityParameterIndicates whether Facility specifies a name or eRoom ID. For further information see ERUParameterType. UserThe eRoom login name or ID of the User logging in. If UserParameter is erParamTypeName and an empty string is provided, or UserParameter is erParamTypeID and the value "1" is provided, the caller is logged in as the built-in facility administrator. UserParameterIndicates whether User specifies a login name or ID. For further information see ERUParameterType. ppFacilityUpon return, an IERUFacility interface pointer to the requested Facility. Return value
RemarksGetFacilityEx is more flexible than GetFacility because it lets you access a facility by specifying either the name or the id for the facility and user. Because GetFacilityEx forces the caller to log in, it also establishes a user context for the session. Once a user context has been established for a facility, you can continue to access the facility without supplying the login password again. The facility's URL name is the shortened version of the descriptive name that appears in the URL for a facility. The URLName property returns a facility's URL name. The ID property returns the ID for a Member or Facility. IDs are not available anywhere in the eRoom interface; they are only available through the API. |
Home |