CTexasAPI::HasPermission

HasPermission is use to check the locally cached permissions list, the api will monitor for changes to this list in real-time.

bool HasPermission(
   unsigned int methodID
);

Parameters

methodID The method ID to be tested.

Return Values

If the method succeeds, the return value is zero else see error codes for more details.

Remarks

Example Use
int param[] = {8,0};//will get current logon user's details
if(server.HasPermission(GET_ENTITY_DETILS)){
   if(server.RemoteMethod(GET_ENTITY_DETAILS,1,0,0,callback,this,param))
      MessageBox(TEXT("Unable to call remote method"));
}

Also See

RemoteMethod
 

Contact Ekky Software

All around the world Ekky Software is contactable seven days of the week by submitting the following details.

Thank you for your time and interest.
Ekky Software Customer Support Team.

Ekky Software Product Range
Ekky Software Homepage Texas Business Software ObjectDatabase++ TScript Ekky Software Homepage Texas Business Software ObjectDatabase++ TScript