|
of_isregistered
|
|
Full name
|
pfc_n_cst_mru.of_isregistered
|
Access
|
public
|
Extend of
|
boolean
|
Return value
|
boolean
|
Prototype
|
public function boolean of_isregistered(string)
|
public function boolean of_isregistered (string as_id);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_IsRegistered
//
// Access: public
//
// Arguments:
// as_id id to be checked for registration
//
// Returns: Boolean
// True = id is registered
// False = Not registered.
//
// Description:
// Determine if the id has been registered with the service
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1996-1997 Sybase, Inc. and its subsidiaries. All rights reserved.
// Any distribution of the PowerBuilder Foundation Classes (PFC)
// source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//
//////////////////////////////////////////////////////////////////////////////
// check arguments
if IsNull(as_id) or (as_id = "") then
return False
end if
if of_GetRegistered(as_id) < 1 then
return false
else
return true
end if
end function