Lines Matching refs:OUString
52 const ::rtl::OUString& _Name in OAdabasUser()
67 …::rtl::OUString aSql = ::rtl::OUString::createFromAscii("SELECT DISTINCT GROUPNAME FROM DOMAIN.USE… in refreshGroups()
69 aSql += ::rtl::OUString::createFromAscii("'"); in refreshGroups()
96 …PASSWORD), PROPERTY_ID_PASSWORD,0,&m_Password,::getCppuType(static_cast< ::rtl::OUString*>(NULL))); in construct()
112 sal_Int32 SAL_CALL OAdabasUser::getPrivileges( const ::rtl::OUString& objName, sal_Int32 objType ) … in getPrivileges()
125 void OAdabasUser::getAnyTablePrivileges(const ::rtl::OUString& objName, sal_Int32& nRights,sal_Int3… in getAnyTablePrivileges()
130 ::rtl::OUString sCatalog,sSchema,sTable; in getAnyTablePrivileges()
133 …::rtl::OUString sSql = ::rtl::OUString::createFromAscii("SELECT REFTABLENAME,PRIVILEGES FROM DOMAI… in getAnyTablePrivileges()
135 sSql += ::rtl::OUString::createFromAscii("' AND REFTABLENAME = '"); in getAnyTablePrivileges()
137 sSql += ::rtl::OUString::createFromAscii("'"); in getAnyTablePrivileges()
146 ::rtl::OUString sPrivs = xRow->getString(2); in getAnyTablePrivileges()
163 … sal_Int32 nIndex = sPrivs.indexOf( ::rtl::OUString::createFromAscii( privileges[i].pAsciiName ) ); in getAnyTablePrivileges()
178 sal_Int32 SAL_CALL OAdabasUser::getGrantablePrivileges( const ::rtl::OUString& objName, sal_Int32 o… in getGrantablePrivileges()
191 void SAL_CALL OAdabasUser::grantPrivileges( const ::rtl::OUString& objName, sal_Int32 objType, sal_… in grantPrivileges()
197 ::rtl::OUString sPrivs = getPrivilegeString(objPrivileges); in grantPrivileges()
200 ::rtl::OUString sGrant; in grantPrivileges()
201 sGrant += ::rtl::OUString::createFromAscii("GRANT "); in grantPrivileges()
203 sGrant += ::rtl::OUString::createFromAscii(" ON "); in grantPrivileges()
206 sGrant += ::rtl::OUString::createFromAscii(" TO "); in grantPrivileges()
216 void SAL_CALL OAdabasUser::revokePrivileges( const ::rtl::OUString& objName, sal_Int32 objType, sal… in revokePrivileges()
223 ::rtl::OUString sPrivs = getPrivilegeString(objPrivileges); in revokePrivileges()
226 ::rtl::OUString sGrant; in revokePrivileges()
227 sGrant += ::rtl::OUString::createFromAscii("REVOKE "); in revokePrivileges()
229 sGrant += ::rtl::OUString::createFromAscii(" ON "); in revokePrivileges()
232 sGrant += ::rtl::OUString::createFromAscii(" FROM "); in revokePrivileges()
243 …id SAL_CALL OAdabasUser::changePassword( const ::rtl::OUString& objPassword, const ::rtl::OUString… in changePassword()
247 ::rtl::OUString sAlterPwd; in changePassword()
248 sAlterPwd = ::rtl::OUString::createFromAscii("ALTER PASSWORD \""); in changePassword()
250 sAlterPwd += ::rtl::OUString::createFromAscii("\" TO \"") ; in changePassword()
252 sAlterPwd += ::rtl::OUString::createFromAscii("\"") ; in changePassword()
263 aSeq.getArray()[0].Name = ::rtl::OUString::createFromAscii("user") ; in changePassword()
265 aSeq.getArray()[1].Name = ::rtl::OUString::createFromAscii("password") ; in changePassword()
284 ::rtl::OUString OAdabasUser::getPrivilegeString(sal_Int32 nRights) const in getPrivilegeString()
286 ::rtl::OUString sPrivs; in getPrivilegeString()
288 sPrivs += ::rtl::OUString::createFromAscii("INSERT"); in getPrivilegeString()
293 sPrivs += ::rtl::OUString::createFromAscii(","); in getPrivilegeString()
294 sPrivs += ::rtl::OUString::createFromAscii("DELETE"); in getPrivilegeString()
300 sPrivs += ::rtl::OUString::createFromAscii(","); in getPrivilegeString()
301 sPrivs += ::rtl::OUString::createFromAscii("UPDATE"); in getPrivilegeString()
307 sPrivs += ::rtl::OUString::createFromAscii(","); in getPrivilegeString()
308 sPrivs += ::rtl::OUString::createFromAscii("ALTER"); in getPrivilegeString()
314 sPrivs += ::rtl::OUString::createFromAscii(","); in getPrivilegeString()
315 sPrivs += ::rtl::OUString::createFromAscii("SELECT"); in getPrivilegeString()
321 sPrivs += ::rtl::OUString::createFromAscii(","); in getPrivilegeString()
322 sPrivs += ::rtl::OUString::createFromAscii("REFERENCES"); in getPrivilegeString()