Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
Loading...
Searching...
No Matches
UserRights Class Reference

A group of users and the rights associated with them. More...

#include <user_rights.h>

Public Member Functions

 UserRights (const std::vector< std::string > &users, const std::vector< std::string > &rights)
 UserRights constructor.
 
const std::vector< std::string > & Users () const
 Gets users associated with a set of rights.
 
const std::vector< std::string > & Rights () const
 Gets rights associated with a group of users.
 

Private Attributes

std::vector< std::string > mUsers
 
std::vector< std::string > mRights
 

Detailed Description

A group of users and the rights associated with them.

Constructor & Destructor Documentation

◆ UserRights()

UserRights::UserRights ( const std::vector< std::string > & users,
const std::vector< std::string > & rights )
inline

UserRights constructor.

Parameters
usersGroup of users that share the same rights
rightsRights shared by group of users

Member Function Documentation

◆ Rights()

const std::vector< std::string > & UserRights::Rights ( ) const
inline

Gets rights associated with a group of users.

Returns
Rights associated with a group of users

◆ Users()

const std::vector< std::string > & UserRights::Users ( ) const
inline

Gets users associated with a set of rights.

Returns
Users associated with a set of rights

Member Data Documentation

◆ mRights

std::vector<std::string> UserRights::mRights
private

◆ mUsers

std::vector<std::string> UserRights::mUsers
private

The documentation for this class was generated from the following file: