Graph API gives you access to Azure AD users and groups. Here are common operations you’ll need. Get Current User List Users Get User’s Groups Permissions Needed User.Read – Read own profile User.Read.All – Read all users GroupMember.Read.All – Read group memberships References Graph Users API
Read more โSearch Results for: name
TypeScript Generics: Writing Flexible, Reusable Code
Generics let you write functions and classes that work with any type while maintaining type safety. They’re essential for reusable TypeScript code. Basic Generic Function Generic Interfaces Constraints References TypeScript Generics
Read more โVue.js Computed Properties and Watchers
Computed properties and watchers are powerful Vue.js features. Understanding when to use each is key to writing clean Vue code. Computed Properties Computed properties are cached and only update when dependencies change: Watchers Watchers react to changes – good for side effects: When to Use Which Computed: Deriving values, templates, getters Watch: Side effects, async […]
Read more โSPFx Property Panes: Building Configurable Web Parts
Property panes let users configure your SPFx web parts without touching code. Here’s how to build them effectively. Basic Property Pane Property Types TextField: Text input Toggle: Boolean switch Dropdown: Select from options Slider: Numeric range Checkbox: Multiple selections Accessing Properties References Property Pane Documentation
Read more โReact State Management: Local State, Context, and When You Need More
State management in React can be simple or complex. Here’s how to choose the right approach for your application. Level 1: Component State Start here. useState is perfect for local UI state: Level 2: Lifting State When siblings need to share state, lift it to the common parent: Level 3: Context For state used across […]
Read more โNode.js with TypeScript: Project Setup and Best Practices
TypeScript makes Node.js development much more pleasant. Types catch bugs early and improve editor support. Here’s how to set up a TypeScript Node project properly. Project Setup tsconfig.json Package Scripts Basic Express App Development Tools Best Practices Enable strict mode from day one Install @types packages for libraries Use interfaces for request/response shapes Keep src […]
Read more โ