⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 user_ds.cpp

📁 一个实用的GIS系统的系统维护模块
💻 CPP
字号:
// User_Ds.cpp: implementation of the User_Ds class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "yhgl.h"
#include "User_Ds.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

//获取用户登陆权限
//loginRole 1|系统管理员 2|数据集用户
BOOL getUserLoginPrivilege(LPCTSTR username,LPCTSTR password,int loginRole)
{
	return TRUE;
}

//获取登陆用户对数据集的控制权限
BOOL getUserDsPrivilege(LPCTSTR username,LPCTSTR password,UserDsArray& dsOperationArray,int loginRole)
{
	if (!getUserLoginPrivilege(username,password,loginRole)) return FALSE;

	return TRUE;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -